diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2012-03-11 12:56:13 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2012-03-11 12:56:13 -0700 |
commit | 2a84a8081e8dca836073e8a49d2d1cc9bc2a1820 (patch) | |
tree | b55e75138b680adbd057b87ee39e11e5607077ca /net/ifconfig.sh.Linux.in | |
parent | ba457f1fed09ea4e095a54466e616f1fa656e05c (diff) | |
parent | b27a9003bb0e3123b91b2b734629f980b8ccad6f (diff) | |
download | openrc-2a84a8081e8dca836073e8a49d2d1cc9bc2a1820.tar.gz openrc-2a84a8081e8dca836073e8a49d2d1cc9bc2a1820.tar.bz2 openrc-2a84a8081e8dca836073e8a49d2d1cc9bc2a1820.tar.xz |
Merge branch 'master' into openrc-0.9.9.x
Diffstat (limited to 'net/ifconfig.sh.Linux.in')
-rw-r--r-- | net/ifconfig.sh.Linux.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ifconfig.sh.Linux.in b/net/ifconfig.sh.Linux.in index 80a0b98..411401d 100644 --- a/net/ifconfig.sh.Linux.in +++ b/net/ifconfig.sh.Linux.in @@ -3,7 +3,7 @@ ifconfig_depend() { - program /sbin/ifconfig + program /sbin/ifconfig /bin/ifconfig provide interface } @@ -19,7 +19,7 @@ _down() _exists() { - grep -Eq "^[[:space:]]*${IFACE}:" /proc/net/dev + [ -e /sys/class/net/"$IFACE" ] } _ifindex() |