[BusyBox] busybox udhcpc
Glenn McGrath
bug1 at optushome.com.au
Tue Aug 20 03:07:03 UTC 2002
Ive had a go at converting udhcpc to a busybox applet.
udhcpc is 18.5kB standalone, compiled into busybox it adds about 11kB so
it saves 7kB.
Im thinking it could be usefull atleast for the debian-installer
I havent tested it yet, it compiles without errors however i think there
may be a problem in there as discover appears to be sending out packets
faster.
The only changes ive made is to use xstrlen, xmalloc, and moved a few
functions that were only used once.
There may be code that could be common to other busybox network applets,
but i havent looked for that, i dont know the network applets very well.
http://people.debian.org/~bug1/udhcpc.bb.diff
or
http://people.debian.org/~bug1/udhcpc.bb.diff.bz2
Glenn
More information about the busybox
mailing list