aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-12-12 05:31:49 +0000
committerBill Nottingham <notting@redhat.com>2000-12-12 05:31:49 +0000
commit7598f8cb5a31d96c26090cadda678c1ea1a5dc37 (patch)
tree31ead2ef1da6fd86f05e5412fc9a73d00e171c18 /rc.d/init.d
parent627c85848617976158d87542b8ed87100f171979 (diff)
downloadinitscripts-7598f8cb5a31d96c26090cadda678c1ea1a5dc37.tar
initscripts-7598f8cb5a31d96c26090cadda678c1ea1a5dc37.tar.gz
initscripts-7598f8cb5a31d96c26090cadda678c1ea1a5dc37.tar.bz2
initscripts-7598f8cb5a31d96c26090cadda678c1ea1a5dc37.tar.xz
initscripts-7598f8cb5a31d96c26090cadda678c1ea1a5dc37.zip
fix more ifconfig greps (patch from Conectiva)
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-xrc.d/init.d/network2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index b952bf74..6e348d52 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -93,7 +93,7 @@ case "$1" in
fi
for i in $interfaces ; do
- if LANG=C ifconfig $i 2>/dev/null | grep -q " UP " >/dev/null 2>&1 ; then
+ if LC_ALL= LANG= ifconfig $i 2>/dev/null | grep -q " UP " >/dev/null 2>&1 ; then
action "Shutting down interface $i: " ./ifdown $i boot
fi
done