From 55500bfaac0c9084d6369fc9741daf73f9161966 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 2 Apr 2008 17:44:52 +0000 Subject: * workaround services "disabled" (butchered?) by default getting disabled on upgrade (#39720) --- add-service | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'add-service') 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 -- cgit v1.2.1