diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-02-19 17:38:30 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-02-19 17:38:30 +0100 |
commit | 8af32f9cdfe3d9dd12064e9548dbe726f3649921 (patch) | |
tree | fdf73316f4e9babccc0c0988ed094bb242d88ef2 /serviceconfig | |
parent | cd98785605e5b317aea612f5f2afda409f4b55b8 (diff) | |
download | tde-guidance-8af32f9cdfe3d9dd12064e9548dbe726f3649921.tar.gz tde-guidance-8af32f9cdfe3d9dd12064e9548dbe726f3649921.zip |
Fix unintended rename of chkconfig
Diffstat (limited to 'serviceconfig')
-rwxr-xr-x | serviceconfig/serviceconfig.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/serviceconfig/serviceconfig.py b/serviceconfig/serviceconfig.py index 6b1415a..88fbec7 100755 --- a/serviceconfig/serviceconfig.py +++ b/serviceconfig/serviceconfig.py @@ -37,7 +37,7 @@ DISTRO = "Mandrake" initdir = "/etc/init.d" rcdir = "/etc/rc.d" -chtdeconfigpath = "/sbin/chtdeconfig" +chkconfigpath = "/sbin/chkconfig" statusblacklist = ['iptables'] # Are we running as a separate standalone application or in KControl? @@ -132,7 +132,7 @@ class Service(object): place = 1 elif place==1: # Grab the short description line. if line!="#": - if line.startswith("# chtdeconfig:"): + if line.startswith("# chkconfig:"): parts = line[12:].split() if len(parts)>=1: for c in parts[0]: @@ -151,7 +151,7 @@ class Service(object): self.longname = line[2:] place = 2 elif place==2: # Look for the description line - if line.startswith("# chtdeconfig:"): + if line.startswith("# chkconfig:"): parts = line[12:].split() if len(parts)>=1: for c in parts[0]: |