aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc
diff options
context:
space:
mode:
authorFlorian La Roche <laroche@redhat.com>2004-10-31 20:08:15 +0000
committerFlorian La Roche <laroche@redhat.com>2004-10-31 20:08:15 +0000
commitfd63008e5c0136b65283fe306bd00c835d057c24 (patch)
tree0785934d19cd6e9f945ce995e80f0f48147f9aa0 /rc.d/rc
parent0c16e93726765826fa3a359765d55c7c9933b9a2 (diff)
downloadinitscripts-fd63008e5c0136b65283fe306bd00c835d057c24.tar
initscripts-fd63008e5c0136b65283fe306bd00c835d057c24.tar.gz
initscripts-fd63008e5c0136b65283fe306bd00c835d057c24.tar.bz2
initscripts-fd63008e5c0136b65283fe306bd00c835d057c24.tar.xz
initscripts-fd63008e5c0136b65283fe306bd00c835d057c24.zip
- some optims/cleanups, details in initscripts.specr7-94
Diffstat (limited to 'rc.d/rc')
-rwxr-xr-xrc.d/rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.d/rc b/rc.d/rc
index db221f8e..626fcaac 100755
--- a/rc.d/rc
+++ b/rc.d/rc
@@ -56,7 +56,7 @@ for i in /etc/rc$runlevel.d/K* ; do
|| continue
# Bring the subsystem down.
- if egrep -q "(killproc |action )" $i ; then
+ if LC_ALL=C egrep -q "(killproc |action )" $i ; then
$i stop
else
action $"Stopping $subsys: " $i stop
@@ -84,7 +84,7 @@ for i in /etc/rc$runlevel.d/S* ; do
export LC_ALL=C
exec $i start
fi
- if egrep -q "(daemon |action |success |failure )" $i 2>/dev/null \
+ if LC_ALL=C egrep -q "(daemon |action |success |failure )" $i 2>/dev/null \
|| [ "$subsys" = "single" -o "$subsys" = "local" ]; then
$i start
else
@@ -94,4 +94,4 @@ done
rm -f /var/run/confirm
if [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --ping ; then
/usr/bin/rhgb-client --quit
-fi \ No newline at end of file
+fi