summaryrefslogtreecommitdiffstats
path: root/serviceconfig
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 00:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 00:56:31 -0600
commit3158f3b3844427ac312f4170e03521b68d1fcce7 (patch)
treeac0cc80e742541311c979c0f229d511f9e97f7a2 /serviceconfig
parent287b394385e1878d1d146e7f07d5cae766bfc323 (diff)
downloadtde-guidance-3158f3b3844427ac312f4170e03521b68d1fcce7.tar.gz
tde-guidance-3158f3b3844427ac312f4170e03521b68d1fcce7.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'serviceconfig')
-rw-r--r--serviceconfig/serviceconfig.desktop2
-rwxr-xr-xserviceconfig/serviceconfig.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/serviceconfig/serviceconfig.desktop b/serviceconfig/serviceconfig.desktop
index 675c237..59ef922 100644
--- a/serviceconfig/serviceconfig.desktop
+++ b/serviceconfig/serviceconfig.desktop
@@ -33,7 +33,7 @@ X-TDE-Library=serviceconfig
X-TDE-FactoryName=serviceconfig
X-TDE-RootOnly=true
Type=Application
-Exec=kcmshell System/serviceconfig
+Exec=tdecmshell System/serviceconfig
Categories=Qt;TDE;X-TDE-settings-system;
GenericName=Runlevel Editor
GenericName[el]=Επεξεργαστής επιπέδων εκτέλεσης
diff --git a/serviceconfig/serviceconfig.py b/serviceconfig/serviceconfig.py
index b93be65..233ebfb 100755
--- a/serviceconfig/serviceconfig.py
+++ b/serviceconfig/serviceconfig.py
@@ -37,7 +37,7 @@ DISTRO = "Mandrake"
initdir = "/etc/init.d"
rcdir = "/etc/rc.d"
-chkconfigpath = "/sbin/chkconfig"
+chtdeconfigpath = "/sbin/chtdeconfig"
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("# chkconfig:"):
+ if line.startswith("# chtdeconfig:"):
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("# chkconfig:"):
+ if line.startswith("# chtdeconfig:"):
parts = line[12:].split()
if len(parts)>=1:
for c in parts[0]: