diff options
author | Florian La Roche <laroche@redhat.com> | 2004-10-31 20:08:15 +0000 |
---|---|---|
committer | Florian La Roche <laroche@redhat.com> | 2004-10-31 20:08:15 +0000 |
commit | fd63008e5c0136b65283fe306bd00c835d057c24 (patch) | |
tree | 0785934d19cd6e9f945ce995e80f0f48147f9aa0 /rc.d/rc | |
parent | 0c16e93726765826fa3a359765d55c7c9933b9a2 (diff) | |
download | initscripts-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-x | rc.d/rc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |