summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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