Skip to content
Snippets Groups Projects
Commit 9978a3e2 authored by Marek Lindner's avatar Marek Lindner Committed by Jo-Philipp Wich
Browse files

base-files: Prefer busybox arp over /proc/net/arp alias


A firmware compiled with BUSYBOX_CONFIG_ARP should also use by default the
arp binary from busybox. Otherwise the extra functionality the user
requested can only be used when running arp with the path to the binary.

Signed-off-by: default avatarMarek Lindner <marek.lindner@open-mesh.com>
Signed-off-by: default avatarSven Eckelmann <sven.eckelmann@open-mesh.com>
parent cc5c8f68
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ alias ll='ls -alF --color=auto'
[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
[ -x /usr/bin/arp ] || arp() { cat /proc/net/arp; }
[ -x /usr/bin/arp -o -x /sbin/arp ] || arp() { cat /proc/net/arp; }
[ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
[ -n "$FAILSAFE" ] || {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment