From 1bd0e0ea6d7df944cd732a991fcd1c7bf45873ca Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Sat, 23 Jan 2010 18:03:02 +0000 Subject: 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) --- add-service | 8 +++----- 1 file 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 -- cgit v1.2.1