non-busybox dhcp clients (was: PATCH: ifupdown.c, udhcpc, and standalone shell)

Denis Vlasenko vda.linux at googlemail.com
Mon Oct 2 13:57:02 PDT 2006


On Sunday 01 October 2006 04:41, Gabriel L. Somlo wrote:
> Denis, Eric:
> 
> I've added the 'manual' method to ifupdown.c, which works exactly like
> the one in Debian (i.e., does nothing by default, and one has to
> provide explicit up and down commands for anything to happen).
> 
> I've added '-R' to the udhcpc startup command line, which then allows
> it to be killed by dhcp_down() with a single 'kill -TERM', which will
> also cause it to relinguish the lease before dying.
> 
> I've added a 'script' option to 'iface foo inet dhcp', which, if
> present, passes a '-s /path/to/script' to udhcpc. This solves my
> problem with udhcpc looking for its script in a place I don't like.
> 
> The relevant bits are below, and the entire ifupdown.c.gz file is
> attached.
> 
> Denis, please apply if there are no objections :)

Applied.
Please send diff -u patch next time.
--
vda


More information about the busybox mailing list