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

Natanael Copa natanael.copa at gmail.com
Wed Oct 4 23:10:08 PDT 2006


On Wed, 2006-10-04 at 21:48 +0200, Eric Spakman wrote:
> Hi Gabriel,
> 
> >> But the patch is _technically incorrect_, that's the point.
> >> [...]
> >> What if I have pump in /usr/local/bin? It will not work.
> >>
> >>
> >> I _hate_ systems with scripts riddled with "/usr/bin/something" instead
> >>  of just "something". $PATH is there for a reason, guys.
> >
> > OK, how about this (still against svn 16294) ? It searches for each
> > client in $PATH, and executes it if it is found...
> >
> Looks perfect to me, haven't tested it though.

There is a "which" applet in busybox that is designed to parse the
$PATH. Couldn't the code be shared with that somehow?

--
Natanael Copa



More information about the busybox mailing list