11 lines
170 B
Bash
11 lines
170 B
Bash
#!/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
|