[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 be10e2e958d4e44d838577568eeccb3a3d15244a..bae3c79e250627c830ac3cda3ce85b1ae3adc687 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 1f680655f71167fbff8acb5796671c737a212992..4bdfa5787a3254ed684f3e0368c150207a3d78f0 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 $*; }