git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7443250
)
linux-rc-make-ifconfig-speak-english-for-parsing-20011120
author
Thomas Mueller
<thomas.mueller@hrz.tu-chemnitz.de>
Wed, 21 Nov 2001 15:41:26 +0000 (15:41 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Wed, 21 Nov 2001 15:41:26 +0000 (15:41 +0000)
sadly the script is fluent only in english and can't even pretend it knows
anything else
src/afsd/afs.rc.linux
patch
|
blob
|
history
diff --git
a/src/afsd/afs.rc.linux
b/src/afsd/afs.rc.linux
index
57cfc9d
..
eeec424
100644
(file)
--- 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