From 90f8608a2822fe7803f530e064becbe4b891f8b5 Mon Sep 17 00:00:00 2001 From: Thomas Mueller Date: Wed, 26 Dec 2001 20:47:36 +0000 Subject: [PATCH] STABLE12-linux-rc-make-ifconfig-speak-english-for-parsing-20011226 sadly the script is fluent only in english and can't even pretend it knows anything else --- src/afsd/afs.rc.linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afsd/afs.rc.linux b/src/afsd/afs.rc.linux index 72d184463..756849a0f 100644 --- a/src/afsd/afs.rc.linux +++ b/src/afsd/afs.rc.linux @@ -77,7 +77,7 @@ is_on() { } on_network() { - ADDRS=`ifconfig -a | grep 'inet addr' | grep -v 127.0.0.1 | wc -l` + ADDRS=`LANG=C ifconfig -a | grep 'inet addr' | grep -v 127.0.0.1 | wc -l` if [ "$ADDRS" = "" ]; then echo afs: No interfaces with IP address 1>&2 return 1 -- 2.39.5