From: Jo-Philipp Wich Date: Fri, 12 Aug 2011 14:34:39 +0000 (+0000) Subject: [package] base-files: fix arp() procedure to properly detect /usr/bin/arp X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d6476e3977798e2218140aee12dee990a8069036;p=openwrt%2Fsvn-archive%2Farchive.git [package] 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 $*; }