From f583030e3cbfb1d2f30af3ebd00427e12fe66b70 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 4 Jan 2012 16:37:33 -0500 Subject: net/ifconfig net/iproute2: support lookup ifconfig/ip dynamically Signed-off-by: Mike Frysinger --- net/iproute2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/iproute2.sh') diff --git a/net/iproute2.sh b/net/iproute2.sh index bb52e983..23ada481 100644 --- a/net/iproute2.sh +++ b/net/iproute2.sh @@ -6,7 +6,7 @@ _ip() if [ -x /bin/ip ]; then echo /bin/ip else - echo /sbin/ip + which ip 2>/dev/null fi } -- cgit v1.2.3