zeroconf: The ip is being installed into /sbin as of the latest busybox.
authorRoy.Li <rongqing.li@windriver.com>
Tue, 16 Jul 2013 09:53:39 +0000 (17:53 +0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:31:36 +0000 (08:31 -0800)
The ip is being installed into /sbin as of the latest busybox, or oe-core.

(From meta-openembedded rev: 69814da193dc5073ad447a310f8a590fedc46e6a)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-networking/recipes-protocols/zeroconf/zeroconf/debian-zeroconf

index c3705d2..0c9d15b 100644 (file)
@@ -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