aboutsummaryrefslogtreecommitdiffstats
path: root/add-service
diff options
context:
space:
mode:
Diffstat (limited to 'add-service')
-rwxr-xr-xadd-service9
1 files changed, 6 insertions, 3 deletions
diff --git a/add-service b/add-service
index 5ffcbef..b208ba7 100755
--- a/add-service
+++ b/add-service
@@ -75,9 +75,12 @@ else
if [ $# -gt 1 ]; then
echo 1>&2 "add-service: Error: $srv appears multiple times: $*"
fi
- if [ -f "$1" ]; then
- /sbin/chkconfig --add $srv
- fi
+
+# [FIXME] disabling code below for MDV2008.1 to workaround butchered services
+# which have "chkconfig: - ..." and "Default-Start" dropped (#39720)
+# if [ -f "$1" ]; then
+# /sbin/chkconfig --add $srv
+# fi
# restart the service if already running
if [ -f /var/lock/subsys/$srv ]; then