aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/network
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-12-12 05:26:37 +0000
committerBill Nottingham <notting@redhat.com>2000-12-12 05:26:37 +0000
commit627c85848617976158d87542b8ed87100f171979 (patch)
tree1110933e9e3fa1c5ffb6882d9ae61e9888d23c94 /rc.d/init.d/network
parent52f4dc3995dde5414f1f148197cde5aa5909253b (diff)
downloadinitscripts-627c85848617976158d87542b8ed87100f171979.tar
initscripts-627c85848617976158d87542b8ed87100f171979.tar.gz
initscripts-627c85848617976158d87542b8ed87100f171979.tar.bz2
initscripts-627c85848617976158d87542b8ed87100f171979.tar.xz
initscripts-627c85848617976158d87542b8ed87100f171979.zip
oops, put the LANG=C in the right place
Diffstat (limited to 'rc.d/init.d/network')
-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 76b3c76c..b952bf74 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 ifconfig $i 2>/dev/null | LANG=C grep -q " UP " >/dev/null 2>&1 ; then
+ if LANG=C ifconfig $i 2>/dev/null | grep -q " UP " >/dev/null 2>&1 ; then
action "Shutting down interface $i: " ./ifdown $i boot
fi
done