summaryrefslogtreecommitdiffstats
path: root/src/lib/Client
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-04-23 16:16:59 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-04-23 16:16:59 +0000
commit4869aaf3a4cbf1034ff3c457c546aa82999fda65 (patch)
treedc32b7fe25bfbcc0be6dc17acee39ac33a9ff1f9 /src/lib/Client
parentabe427c90fa720ec6eea93a230e2ab4fc81a87be (diff)
downloadbcfg2-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.py2
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