aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/single
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-02-03 19:34:29 +0000
committerBill Nottingham <notting@redhat.com>1999-02-03 19:34:29 +0000
commit78f1af4fcbcc1193db5e9db036359e14cc98afd9 (patch)
treed4e80f4f61ef4d6f7d436b49ac7f113182a82ca9 /rc.d/init.d/single
parentd503a6fe70268f6b451a80b3fc89641f33491e9e (diff)
downloadinitscripts-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/init.d/single')
-rwxr-xr-xrc.d/init.d/single6
1 files changed, 2 insertions, 4 deletions
diff --git a/rc.d/init.d/single b/rc.d/init.d/single
index 20e50b10..a2d4291e 100755
--- a/rc.d/init.d/single
+++ b/rc.d/init.d/single
@@ -16,11 +16,9 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin
# Kill all processes.
[ "${BASH+bash}" = bash ] && enable kill
-echo "Sending all processes the TERM signal..."
-kill -15 -1
+action "Sending all processes the TERM signal..." kill -15 -1
sleep 5
-echo "Sending all processes the KILL signal.."
-kill -9 -1
+action "Sending all processes the KILL signal.." kill -9 -1
rm -f /var/lock/subsys/*