avahi: udhcpc default.script: only bring up avahi-autoipd on nak/timeout
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 4 Jun 2009 12:55:58 +0000 (14:55 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 4 Jun 2009 12:58:57 +0000 (14:58 +0200)
commit871435fdb5019e34875e9b87c38e45a90f1af806
treebde760096f41b7a2c90edad0f0ece198fd4c5864
parent0ebab19479d48f38d0cae3c5d8480a22fef5c4ab
avahi: udhcpc default.script: only bring up avahi-autoipd on nak/timeout

The avahi udhcpc script used to start up avahi-autoipd at defconfig
(init) time, and then kill it if a dhcp lease was acquired, leading
to extra network traffic.

Change it to only start avahi-autoipd on timeout and dhcp nak.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/avahi/busybox-udhcpc-default.script