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