summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/zeroconf
diff options
context:
space:
mode:
authorRoy.Li <rongqing.li@windriver.com>2013-07-16 17:53:39 +0800
committerJoe MacDonald <joe.macdonald@windriver.com>2013-07-17 15:44:23 -0400
commit69814da193dc5073ad447a310f8a590fedc46e6a (patch)
tree0c8369f32384cae044ed3638ab6bcd4c6a8622e3 /meta-networking/recipes-protocols/zeroconf
parentd83f96671c2cf1f0bf08cd8e97344c818ce9a8bf (diff)
downloadmeta-openembedded-69814da193dc5073ad447a310f8a590fedc46e6a.tar.gz
zeroconf: The ip is being installed into /sbin as of the latest busybox.
The ip is being installed into /sbin as of the latest busybox, or oe-core. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Diffstat (limited to 'meta-networking/recipes-protocols/zeroconf')
-rw-r--r--meta-networking/recipes-protocols/zeroconf/zeroconf/debian-zeroconf4
1 files 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 c3705d278..0c9d15ba1 100644
--- a/meta-networking/recipes-protocols/zeroconf/zeroconf/debian-zeroconf
+++ b/meta-networking/recipes-protocols/zeroconf/zeroconf/debian-zeroconf
@@ -35,10 +35,10 @@ done
35 35
36# should we only allocate an address if we do not already have one? 36# should we only allocate an address if we do not already have one?
37if [ -n "$FALLBACK" ]; then 37if [ -n "$FALLBACK" ]; then
38 /bin/ip addr show $IFACE scope global | grep -q "inet" 38 /sbin/ip addr show $IFACE scope global | grep -q "inet"
39 IP=$? 39 IP=$?
40 if [ $IP -eq 0 ]; then 40 if [ $IP -eq 0 ]; then
41 /bin/ip route add 169.254.0.0/16 dev $IFACE 41 /sbin/ip route add 169.254.0.0/16 dev $IFACE
42 exit 0 42 exit 0
43 fi 43 fi
44fi 44fi