aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/avahi/files/00avahi-autoipd
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/avahi/files/00avahi-autoipd')
-rw-r--r--meta/recipes-connectivity/avahi/files/00avahi-autoipd10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/avahi/files/00avahi-autoipd b/meta/recipes-connectivity/avahi/files/00avahi-autoipd
new file mode 100644
index 00000000000..a0ab8146034
--- /dev/null
+++ b/meta/recipes-connectivity/avahi/files/00avahi-autoipd
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+[ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1
+
+case "$1" in
+
+ deconfig|renew|bound)
+ /usr/sbin/avahi-autoipd -k $interface 2> /dev/null
+ ;;
+esac