aboutsummaryrefslogtreecommitdiffstats
path: root/add-service
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2010-01-23 18:03:02 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2010-01-23 18:03:02 +0000
commit1bd0e0ea6d7df944cd732a991fcd1c7bf45873ca (patch)
tree2d6e44c7b95889e890f1fe7017413bde2c00bbee /add-service
parentcad3b75e14148af3f16790f0f0201bad12ae0d5f (diff)
downloadrpm-helper-1bd0e0ea6d7df944cd732a991fcd1c7bf45873ca.tar
rpm-helper-1bd0e0ea6d7df944cd732a991fcd1c7bf45873ca.tar.gz
rpm-helper-1bd0e0ea6d7df944cd732a991fcd1c7bf45873ca.tar.bz2
rpm-helper-1bd0e0ea6d7df944cd732a991fcd1c7bf45873ca.tar.xz
rpm-helper-1bd0e0ea6d7df944cd732a991fcd1c7bf45873ca.zip
re-enable running chkconfig for services during package upgrade, all init scripts should have been fixed since 2008.1 (and this should also fix #52313)
Diffstat (limited to 'add-service')
-rwxr-xr-xadd-service8
1 files changed, 3 insertions, 5 deletions
diff --git a/add-service b/add-service
index f42907a..731a66b 100755
--- a/add-service
+++ b/add-service
@@ -76,11 +76,9 @@ else
echo 1>&2 "add-service: Error: $srv appears multiple times: $*"
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
+ if [ -f "$1" ]; then
+ /sbin/chkconfig --add $srv
+ fi
# restart the service if already running
if [ -f /var/lock/subsys/$srv ]; then