summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/avahi/files/99avahi-autoipd
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/avahi/files/99avahi-autoipd')
-rw-r--r--meta/recipes-connectivity/avahi/files/99avahi-autoipd10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/avahi/files/99avahi-autoipd b/meta/recipes-connectivity/avahi/files/99avahi-autoipd
new file mode 100644
index 0000000..234cdaa
--- /dev/null
+++ b/meta/recipes-connectivity/avahi/files/99avahi-autoipd
@@ -0,0 +1,10 @@
1#!/bin/sh
2
3[ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1
4
5case "$1" in
6
7 leasefail)
8 /usr/sbin/avahi-autoipd -wD $interface 2> /dev/null
9 ;;
10esac