From: Jo-Philipp Wich Date: Fri, 12 Aug 2011 14:34:39 +0000 (+0000) Subject: base-files: fix arp() procedure to properly detect /usr/bin/arp X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=aab33e2e9ada76d98fcac6ae26419527d6eb9a75;p=openwrt%2Fstaging%2F981213.git base-files: fix arp() procedure to properly detect /usr/bin/arp SVN-Revision: 27965 --- diff --git a/package/base-files/Makefile b/package/base-files/Makefile index be10e2e958..bae3c79e25 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=base-files -PKG_RELEASE:=78 +PKG_RELEASE:=79 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ PKG_BUILD_DEPENDS:=opkg/host diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile index 1f680655f7..4bdfa5787a 100644 --- a/package/base-files/files/etc/profile +++ b/package/base-files/files/etc/profile @@ -11,5 +11,5 @@ export PS1='\u@\h:\w\$ ' [ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc -[ -x /sbin/arp ] || arp() { cat /proc/net/arp; } +[ -x /usr/bin/arp ] || arp() { cat /proc/net/arp; } [ -z /bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }