summaryrefslogtreecommitdiff
path: root/package/avahi
diff options
context:
space:
mode:
Diffstat (limited to 'package/avahi')
-rwxr-xr-xpackage/avahi/busybox-udhcpc-default.script6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/avahi/busybox-udhcpc-default.script b/package/avahi/busybox-udhcpc-default.script
index cc89feba7..0bb3dea03 100755
--- a/package/avahi/busybox-udhcpc-default.script
+++ b/package/avahi/busybox-udhcpc-default.script
@@ -19,6 +19,12 @@ case "$1" in
/sbin/ifconfig $interface 0.0.0.0
fi
if [ -x /usr/sbin/avahi-autoipd ]; then
+ /usr/sbin/avahi-autoipd -k $interface
+ fi
+ ;;
+
+ leasefail|nak)
+ if [ -x /usr/sbin/avahi-autoipd ]; then
/usr/sbin/avahi-autoipd -wD $interface --no-chroot
fi
;;