Best way to use dhcpc / avahi without delaying other init scripts ?

Peter Korsgaard jacmet at sunsite.dk
Tue Apr 30 19:44:33 UTC 2013


>>>>> "Mark" == Mark Jackson <mpfj-list at newflow.co.uk> writes:

 Mark> Aha ... excellent.

 Mark> Is there any docs / examples, or should it be (fairly) self-explanatory ?

You can look at the original (non busybox) version for docs:

http://0pointer.de/lennart/projects/ifplugd/

But ifplugd basically just calls /etc/ifplugd/ifplugd.action <iface> <up|down>
when there's a link change, so you can just write a small script to exec
ifup $1 / ifdown $1.

Ifplugd has a number of optional arguments to select the link status
detection method / polling interval / .. I use it with:

ifplugd -fI -u0 -d1 -i eth0

-- 
Bye, Peter Korsgaard


More information about the busybox mailing list