net/ifconfig: The location of the ifconfig binary has changed

The location of the ifconfig binary has changed in
net-tools-1.60_p20120127084908, and if we do not check both locations
for it, the user will get errors like:
_is_wireless: command not found
_exists: command not found

X-Gentoo-Bug: 407757
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=407757
This commit is contained in:
Robin H. Johnson 2012-03-11 12:54:48 -07:00
parent 9fa54a8e80
commit b27a9003bb

View File

@ -3,7 +3,7 @@
ifconfig_depend()
{
program /sbin/ifconfig
program /sbin/ifconfig /bin/ifconfig
provide interface
}