From 60a82cd12b4a7859d8acf4b8fb2d49a61039966d Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 27 Feb 2001 22:49:42 +0000 Subject: don't explicitly kill things, init will do that --- rc.d/init.d/single | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'rc.d') 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 -- cgit v1.2.1