aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/single
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-02-27 22:49:42 +0000
committerBill Nottingham <notting@redhat.com>2001-02-27 22:49:42 +0000
commit60a82cd12b4a7859d8acf4b8fb2d49a61039966d (patch)
treeb1070946dfcf0dd31368568386ce334ac5d22733 /rc.d/init.d/single
parent3080f1ef6364fe1ef16df4ce47feeb9c03642e6d (diff)
downloadinitscripts-60a82cd12b4a7859d8acf4b8fb2d49a61039966d.tar
initscripts-60a82cd12b4a7859d8acf4b8fb2d49a61039966d.tar.gz
initscripts-60a82cd12b4a7859d8acf4b8fb2d49a61039966d.tar.bz2
initscripts-60a82cd12b4a7859d8acf4b8fb2d49a61039966d.tar.xz
initscripts-60a82cd12b4a7859d8acf4b8fb2d49a61039966d.zip
don't explicitly kill things, init will do that
Diffstat (limited to 'rc.d/init.d/single')
-rwxr-xr-xrc.d/init.d/single11
1 files changed, 1 insertions, 10 deletions
diff --git a/rc.d/init.d/single b/rc.d/init.d/single
index 9e8ad6d7..c9304091 100755
--- a/rc.d/init.d/single
+++ b/rc.d/init.d/single
@@ -20,15 +20,6 @@ if [ "$1" != "start" ] ; then
exit 0
fi
-# Kill all processes.
-[ "${BASH+bash}" = bash ] && enable kill
-
-echo $"Sending all processes the TERM signal..."
-kill -15 -1
-sleep 5
-echo $"Sending all processes the KILL signal.."
-kill -9 -1
-
rm -f /var/lock/subsys/*
# this looks nices
@@ -54,4 +45,4 @@ done
# Now go to the single user level.
echo $"Telling INIT to go to single user mode."
-init -t1 S
+exec init -t1 S