aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/single
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-23 19:59:11 +0000
committerBill Nottingham <notting@redhat.com>2001-01-23 19:59:11 +0000
commita4a25465cd2844d72bf518188b813c009450f505 (patch)
tree25ca5df7db282aa4202813aba3c0e18083927c25 /rc.d/init.d/single
parentbee84f538da8b1d5885975c119bfd7fd5ae7e9a3 (diff)
downloadinitscripts-a4a25465cd2844d72bf518188b813c009450f505.tar
initscripts-a4a25465cd2844d72bf518188b813c009450f505.tar.gz
initscripts-a4a25465cd2844d72bf518188b813c009450f505.tar.bz2
initscripts-a4a25465cd2844d72bf518188b813c009450f505.tar.xz
initscripts-a4a25465cd2844d72bf518188b813c009450f505.zip
change i18n stuff around; don't call gettext explicitly, just do echo $"some string"
Diffstat (limited to 'rc.d/init.d/single')
-rwxr-xr-xrc.d/init.d/single8
1 files changed, 4 insertions, 4 deletions
diff --git a/rc.d/init.d/single b/rc.d/init.d/single
index 92de156e..84341a50 100755
--- a/rc.d/init.d/single
+++ b/rc.d/init.d/single
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
#
# rc.single This file is executed by init when it goes into runlevel
@@ -23,10 +23,10 @@ fi
# Kill all processes.
[ "${BASH+bash}" = bash ] && enable kill
-gprintf "Sending all processes the %s signal...\n" "TERM"
+echo $"Sending all processes the TERM signal..."
kill -15 -1
sleep 5
-gprintf "Sending all processes the %s signal..\n" "KILL"
+echo $"Sending all processes the KILL signal.."
kill -9 -1
rm -f /var/lock/subsys/*
@@ -53,5 +53,5 @@ for i in /etc/rc1.d/S[0-9][0-9]*; do
done
# Now go to the single user level.
-gprintf "Telling INIT to go to single user mode.\n"
+echo $"Telling INIT to go to single user mode."
exec init -t1 S