diff options
author | Bill Nottingham <notting@redhat.com> | 1999-02-03 19:34:29 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-02-03 19:34:29 +0000 |
commit | 78f1af4fcbcc1193db5e9db036359e14cc98afd9 (patch) | |
tree | d4e80f4f61ef4d6f7d436b49ac7f113182a82ca9 /rc.d/rc | |
parent | d503a6fe70268f6b451a80b3fc89641f33491e9e (diff) | |
download | initscripts-78f1af4fcbcc1193db5e9db036359e14cc98afd9.tar initscripts-78f1af4fcbcc1193db5e9db036359e14cc98afd9.tar.gz initscripts-78f1af4fcbcc1193db5e9db036359e14cc98afd9.tar.bz2 initscripts-78f1af4fcbcc1193db5e9db036359e14cc98afd9.tar.xz initscripts-78f1af4fcbcc1193db5e9db036359e14cc98afd9.zip |
more initlog changes; wait a little longer for kill -TERM
Diffstat (limited to 'rc.d/rc')
-rwxr-xr-x | rc.d/rc | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -51,7 +51,11 @@ if [ -d /etc/rc.d/rc$runlevel.d ]; then [ ! -f /var/lock/subsys/${subsys}.init ] && continue # Bring the subsystem down. - $i stop + if [ egrep -q "(killproc|action)" $i ]; then + $i stop + else + action "Stopping $subsys" $i stop + fi done # Now run the START scripts. @@ -86,6 +90,10 @@ if [ -d /etc/rc.d/rc$runlevel.d ]; then } # Bring the subsystem up. - $i start + if [ egrep -q "(daemon|action)" $i ]; then + $i start + else + action "Starting $subsys" $i start + fi done fi |