aboutsummaryrefslogtreecommitdiffstats
path: root/add-service
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-04-02 17:44:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-04-02 17:44:52 +0000
commit55500bfaac0c9084d6369fc9741daf73f9161966 (patch)
treeed529574c2462b76376633e63fea486a561c42eb /add-service
parentfc08fbc21cd8f0cb2a8d7a28f32a1e1538500a9a (diff)
downloadrpm-helper-55500bfaac0c9084d6369fc9741daf73f9161966.tar
rpm-helper-55500bfaac0c9084d6369fc9741daf73f9161966.tar.gz
rpm-helper-55500bfaac0c9084d6369fc9741daf73f9161966.tar.bz2
rpm-helper-55500bfaac0c9084d6369fc9741daf73f9161966.tar.xz
rpm-helper-55500bfaac0c9084d6369fc9741daf73f9161966.zip
* workaround services "disabled" (butchered?) by default getting disabled on
upgrade (#39720)
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