PATCH: ifupdown.c, udhcpc, and standalone shell

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Tue Sep 26 19:54:14 UTC 2006


On Tue, Sep 26, 2006 at 03:41:22PM -0400, Gabriel L. Somlo wrote:
> Denis,
> 
> Thanks for the fix. It works, but I'd like to re-arrange the order in
> which it attempts to execute various dhcp clients. Right now, udhcpc
> is the last one it tries, so you get a series of error messages:
> 
> 	/ $ ifup -a
> 	/bin/sh: pump: not found
> 	/bin/sh: dhclient: not found
> ...
> 
> before it finally runs udhcpc and thigs work fine.

Does busybox's ash support type for internal commands? Then it would be
possible to just do if type pump >& /dev/null; then CMD=pump; elif ...

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060926/b784fa90/attachment-0002.pgp 


More information about the busybox mailing list