aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/avahi/files/99avahi-autoipd
blob: 234cdaa3eb7b3d850034454e2a3a1a3b7718f937 (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

	leasefail)
		/usr/sbin/avahi-autoipd -wD $interface 2> /dev/null
		;;
esac