From 7ed6e7f4fbbde532e3cc0c9f5ccaa0a114dfbee8 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 2 Jan 2001 22:42:09 +0000 Subject: Big i18n commit. From Conectiva, originally. --- rc.d/init.d/single | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'rc.d/init.d/single') diff --git a/rc.d/init.d/single b/rc.d/init.d/single index 6806d0c3..92de156e 100755 --- a/rc.d/init.d/single +++ b/rc.d/init.d/single @@ -10,10 +10,11 @@ # Modified for RHS Linux by Damien Neil # -. /etc/init.d/functions - # Set the path. PATH=/sbin:/bin:/usr/sbin:/usr/bin +TEXTDOMAIN=initscripts + +. /etc/rc.d/init.d/functions if [ "$1" != "start" ] ; then exit 0 @@ -22,10 +23,10 @@ fi # Kill all processes. [ "${BASH+bash}" = bash ] && enable kill -echo "Sending all processes the TERM signal..." +gprintf "Sending all processes the %s signal...\n" "TERM" kill -15 -1 sleep 5 -echo "Sending all processes the KILL signal.." +gprintf "Sending all processes the %s signal..\n" "KILL" kill -9 -1 rm -f /var/lock/subsys/* @@ -52,5 +53,5 @@ for i in /etc/rc1.d/S[0-9][0-9]*; do done # Now go to the single user level. -echo "Telling INIT to go to single user mode." +gprintf "Telling INIT to go to single user mode.\n" exec init -t1 S -- cgit v1.2.1