mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
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>
This commit is contained in:
@@ -35,10 +35,10 @@ done
|
|||||||
|
|
||||||
# should we only allocate an address if we do not already have one?
|
# should we only allocate an address if we do not already have one?
|
||||||
if [ -n "$FALLBACK" ]; then
|
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=$?
|
IP=$?
|
||||||
if [ $IP -eq 0 ]; then
|
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
|
exit 0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user