summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/bootmisc')
-rwxr-xr-xinit.d/bootmisc14
1 files changed, 7 insertions, 7 deletions
diff --git a/init.d/bootmisc b/init.d/bootmisc
index f9a76b3..5cc2907 100755
--- a/init.d/bootmisc
+++ b/init.d/bootmisc
@@ -15,17 +15,17 @@ start() {
# system startup is complete.
#
if [[ ${DELAYLOGIN} == "yes" ]] ; then
- echo "System bootup in progress - please wait" > /etc/nologin
+ echo $"System bootup in progress - please wait" > /etc/nologin
cp /etc/nologin /etc/nologin.boot &> /dev/null
fi
if ! touch /var/run/.keep 2> /dev/null ; then
- ewarn "Skipping /var and /tmp initialization (ro root?)"
+ ewarn $"Skipping /var and /tmp initialization (ro root?)"
return 0
fi
if [[ -x /sbin/env-update.sh ]] ; then
- ebegin "Updating environment"
+ ebegin $"Updating environment"
/sbin/env-update.sh -u > /dev/null
eend 0
fi
@@ -35,12 +35,12 @@ start() {
#
if [[ -d /var/lib/net-scripts/state ]] ; then
- ebegin "Cleaning /var/lib/net-scripts/state"
+ ebegin $"Cleaning" /var/lib/net-scripts/state
rm -rf /var/lib/net-scripts/state/*
eend 0
fi
- ebegin "Cleaning /var/lock, /var/run"
+ ebegin $"Cleaning" /var/lock, /var/run
rm -rf /var/run/console.lock /var/run/console/*
#
@@ -71,7 +71,7 @@ start() {
if [[ -d /tmp ]] ; then
cd /tmp
if [[ ${WIPE_TMP} == "yes" ]] ; then
- ebegin "Wiping /tmp directory"
+ ebegin $"Wiping /tmp directory"
# This eval stuff sucks, so if someone has a better *working*
# solution, please file a bug at http://bugs.gentoo.org/
# Originally ripped from Debian init scripts
@@ -92,7 +92,7 @@ start() {
eval find . -xdev -depth ${exceptions} -type d -empty -exec rmdir '{}' \\';'
eend 0
else
- ebegin "Cleaning /tmp directory"
+ ebegin $"Cleaning /tmp directory"
(
rm -f /tmp/.X*-lock /tmp/esrv* /tmp/kio* /tmp/jpsock.* /tmp/.fam*
rm -rf /tmp/.esd* /tmp/orbit-* /tmp/ssh-* /tmp/ksocket-* /tmp/.*-unix