[package] base-files: fix arp() procedure to properly detect /usr/bin/arp
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 12 Aug 2011 14:34:39 +0000 (14:34 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 12 Aug 2011 14:34:39 +0000 (14:34 +0000)
SVN-Revision: 27965

package/base-files/Makefile
package/base-files/files/etc/profile

index be10e2e..bae3c79 100644 (file)
@@ -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
index 1f68065..4bdfa57 100644 (file)
@@ -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 $*; }