diff options
Diffstat (limited to 'net')
| -rw-r--r-- | net/ifconfig.sh.Linux.in | 11 | ||||
| -rw-r--r-- | net/iproute2.sh | 2 | 
2 files changed, 2 insertions, 11 deletions
| diff --git a/net/ifconfig.sh.Linux.in b/net/ifconfig.sh.Linux.in index 2ac63fd4..80a0b987 100644 --- a/net/ifconfig.sh.Linux.in +++ b/net/ifconfig.sh.Linux.in @@ -1,18 +1,9 @@  # Copyright (c) 2007-2008 Roy Marples <roy@marples.name>  # Released under the 2-clause BSD license. -_ifconfig() -{ -	if [ -x /bin/ifconfig ]; then -		echo /bin/ifconfig -	else -		which ifconfig 2>/dev/null -	fi -} -  ifconfig_depend()  { -	program $(_ifconfig) +	program /sbin/ifconfig  	provide interface  } diff --git a/net/iproute2.sh b/net/iproute2.sh index 23ada481..bb52e983 100644 --- a/net/iproute2.sh +++ b/net/iproute2.sh @@ -6,7 +6,7 @@ _ip()  	if [ -x /bin/ip ]; then  		echo /bin/ip  	else -		which ip 2>/dev/null +		echo /sbin/ip  	fi  } | 
