diff options
Diffstat (limited to 'add-service')
-rwxr-xr-x | add-service | 8 |
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 |