aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc')
-rwxr-xr-xrc.d/rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/rc.d/rc b/rc.d/rc
index bd9ff7cc..87a124a8 100755
--- a/rc.d/rc
+++ b/rc.d/rc
@@ -101,6 +101,12 @@ if [ -d /etc/rc$runlevel.d ]; then
$i start
else
if [ "$subsys" = "halt" -o "$subsys" = "reboot" -o "$subsys" = "single" -o "$subsys" = "local" ]; then
+ if [ "$subsys" = "halt" -o "$subsys" = "reboot" ]; then
+ unset LANG
+ unset TEXTDOMAIN
+ unset TEXTDOMAINDIR
+ exec $i start
+ fi
$i start
else
action $"Starting $subsys: " $i start