From d76fe88aa176814394c3b1fdb53fa6d57749d4a0 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 2 Sep 2008 14:13:21 -0400 Subject: Use the full path for arping. --- rc.d/init.d/netconsole | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d/init.d') diff --git a/rc.d/init.d/netconsole b/rc.d/init.d/netconsole index 1a6edc82..3a29c96b 100644 --- a/rc.d/init.d/netconsole +++ b/rc.d/init.d/netconsole @@ -54,7 +54,7 @@ print_address_info () target=$host fi if [ -z "$SYSLOGMACADDR" ]; then - arp=$(LANG=C arping -c 1 -I $DEV $target 2>/dev/null | awk '/ reply from .*[.*]/ { print gensub(".* reply from .* \\[(.*)\\].*","\\1","G") }') + arp=$(LANG=C /sbin/arping -c 1 -I $DEV $target 2>/dev/null | awk '/ reply from .*[.*]/ { print gensub(".* reply from .* \\[(.*)\\].*","\\1","G") }') [ -n "$arp" ] && echo "SYSLOGMACADDR=$arp" fi } -- cgit v1.2.1