aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-09-02 14:13:21 -0400
committerBill Nottingham <notting@redhat.com>2008-09-02 14:13:21 -0400
commitd76fe88aa176814394c3b1fdb53fa6d57749d4a0 (patch)
tree6b7ad44224e7a39190aec468ec5c964e2841e1c9 /rc.d/init.d
parentf87aef85d35878ba5886e739dffa84068198f0c0 (diff)
downloadinitscripts-d76fe88aa176814394c3b1fdb53fa6d57749d4a0.tar
initscripts-d76fe88aa176814394c3b1fdb53fa6d57749d4a0.tar.gz
initscripts-d76fe88aa176814394c3b1fdb53fa6d57749d4a0.tar.bz2
initscripts-d76fe88aa176814394c3b1fdb53fa6d57749d4a0.tar.xz
initscripts-d76fe88aa176814394c3b1fdb53fa6d57749d4a0.zip
Use the full path for arping.
Diffstat (limited to 'rc.d/init.d')
-rw-r--r--rc.d/init.d/netconsole2
1 files changed, 1 insertions, 1 deletions
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
}