aboutsummaryrefslogtreecommitdiff
path: root/net/ifconfig.sh.Linux.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/ifconfig.sh.Linux.in')
-rw-r--r--net/ifconfig.sh.Linux.in11
1 files changed, 1 insertions, 10 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
}