git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
LINUX: ifconfig's output has changed
[openafs.git]
/
src
/
afsd
/
afs.rc.linux
diff --git
a/src/afsd/afs.rc.linux
b/src/afsd/afs.rc.linux
index
0833c18
..
4df45a1
100644
(file)
--- a/
src/afsd/afs.rc.linux
+++ b/
src/afsd/afs.rc.linux
@@
-82,7
+82,7
@@
is_on() {
}
on_network() {
- ADDRS=`LANG=C ifconfig -a | grep 'inet addr' | grep -v 127.0.0.1 | wc -l`
+ ADDRS=`LANG=C ifconfig -a | grep 'inet ' | grep -v 127.0.0.1 | wc -l`
if [ "$ADDRS" = "" ]; then
echo afs: No interfaces with IP address 1>&2
return 1