From da07f250aa6ee2d5ef587f18c4696f61f7676cc0 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 4 Oct 2000 15:20:17 +0000 Subject: fix the grep for 'UP' so it doesn't report strange results on german PPP devices --- rc.d/init.d/network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d/init.d') diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 7e15822f..76b3c76c 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 | grep -q "UP" >/dev/null 2>&1 ; then + if ifconfig $i 2>/dev/null | LANG=C grep -q " UP " >/dev/null 2>&1 ; then action "Shutting down interface $i: " ./ifdown $i boot fi done -- cgit v1.2.1