[oe] [meta-networking][PATCH] The ip is being installed into /sbin as of the latest busybox.

rongqing.li at windriver.com rongqing.li at windriver.com
Tue Jul 16 09:53:39 UTC 2013


From: "Roy.Li" <rongqing.li at windriver.com>

The ip is being installed into /sbin as of the latest busybox, or oe-core.

Signed-off-by: Roy.Li <rongqing.li at windriver.com>
---
 .../recipes-protocols/zeroconf/zeroconf/debian-zeroconf            |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-networking/recipes-protocols/zeroconf/zeroconf/debian-zeroconf b/meta-networking/recipes-protocols/zeroconf/zeroconf/debian-zeroconf
index c3705d2..0c9d15b 100644
--- a/meta-networking/recipes-protocols/zeroconf/zeroconf/debian-zeroconf
+++ b/meta-networking/recipes-protocols/zeroconf/zeroconf/debian-zeroconf
@@ -35,10 +35,10 @@ done
 
 # should we only allocate an address if we do not already have one?
 if [ -n "$FALLBACK" ]; then
-    /bin/ip addr show $IFACE scope global | grep -q "inet"
+    /sbin/ip addr show $IFACE scope global | grep -q "inet"
     IP=$?
     if [ $IP -eq 0 ]; then
-        /bin/ip route add 169.254.0.0/16 dev $IFACE
+        /sbin/ip route add 169.254.0.0/16 dev $IFACE
         exit 0
     fi
 fi
-- 
1.7.10.4




More information about the Openembedded-devel mailing list