aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/avahi/files/00avahi-autoipd
blob: a0ab814603403d68b0282ea178acc800dc9c17a3 (plain)
1
2
3
4
5
6
7
8
9
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