aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc')
-rwxr-xr-xrc.d/rc10
1 files changed, 5 insertions, 5 deletions
diff --git a/rc.d/rc b/rc.d/rc
index 3609fe9f..3194f474 100755
--- a/rc.d/rc
+++ b/rc.d/rc
@@ -24,10 +24,10 @@ if [ "$previous" = "N" ]; then
if grep -i confirm /proc/cmdline >/dev/null || [ -f /var/run/confirm ] ; then
rm -f /var/run/confirm
CONFIRM=yes
- gprintf "Entering interactive startup\n"
+ echo $"Entering interactive startup"
else
CONFIRM=
- gprintf "Entering non-interactive startup\n"
+ echo $"Entering non-interactive startup"
fi
fi
@@ -37,7 +37,7 @@ export CONFIRM
[ -n "$argv1" ] && runlevel="$argv1"
# Tell linuxconf what runlevel we are in
-[ -d /var/run ] && echo "/etc/rc$runlevel.d" > /var/run/runlevel.dir
+[ -d /var/run ] && echo $"/etc/rc$runlevel.d" > /var/run/runlevel.dir
# Is there an rc directory for this new runlevel?
if [ -d /etc/rc$runlevel.d ]; then
@@ -60,7 +60,7 @@ if [ -d /etc/rc$runlevel.d ]; then
if egrep -q "(killproc |action )" $i ; then
$i stop
else
- action "Stopping %s: " $subsys $i stop
+ action "Stopping $subsys: " $i stop
fi
done
@@ -103,7 +103,7 @@ if [ -d /etc/rc$runlevel.d ]; then
if [ "$subsys" = "halt" -o "$subsys" = "reboot" -o "$subsys" = "single" -o "$subsys" = "local" ]; then
$i start
else
- action "Starting %s: " $subsys $i start
+ action "Starting $subsys: " $i start
fi
fi
done