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