mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 17:00:15 +00:00
linux-rc-make-ifconfig-speak-english-for-parsing-20011120
sadly the script is fluent only in english and can't even pretend it knows anything else
This commit is contained in:
parent
74432508a7
commit
16b809cef2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user