diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2009-04-23 16:16:59 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2009-04-23 16:16:59 +0000 |
commit | 4869aaf3a4cbf1034ff3c457c546aa82999fda65 (patch) | |
tree | dc32b7fe25bfbcc0be6dc17acee39ac33a9ff1f9 /src/lib/Client | |
parent | abe427c90fa720ec6eea93a230e2ab4fc81a87be (diff) | |
download | bcfg2-4869aaf3a4cbf1034ff3c457c546aa82999fda65.tar.gz bcfg2-4869aaf3a4cbf1034ff3c457c546aa82999fda65.tar.bz2 bcfg2-4869aaf3a4cbf1034ff3c457c546aa82999fda65.zip |
Chkconfig patch from leggett
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5172 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client')
-rw-r--r-- | src/lib/Client/Tools/Chkconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/Chkconfig.py b/src/lib/Client/Tools/Chkconfig.py index 5f867ee2d..f3945596e 100644 --- a/src/lib/Client/Tools/Chkconfig.py +++ b/src/lib/Client/Tools/Chkconfig.py @@ -72,7 +72,7 @@ class Chkconfig(Bcfg2.Client.Tools.SvcTool): self.logger.info("Installing Service %s" % (entry.get('name'))) pass1 = True if entry.get('status') == 'off': - rc = self.cmd.run(rcmd % (entry.get('name'), entry.get('status')) + " --level 1")[0] + rc = self.cmd.run(rcmd % (entry.get('name'), entry.get('status')) + " --level 0123456")[0] pass1 = rc == 0 rc = self.cmd.run(rcmd % (entry.get('name'), entry.get('status')))[0] return pass1 and rc == 0 |