[BusyBox] busybox 1.00-pre8 & DHCP Patch
Russ Dill
Russ.Dill at asu.edu
Tue Mar 2 07:30:01 UTC 2004
> I can't find anything in dhcpc.c that needs updating.
>
> If you're referring to the show_usage() function in that file, it will still
> function normally since show_usage() is only used if udhcpc is not built
> into busybox. If that is the case, DEFAULT_SCRIPT will be defined and
> show_usage() will display the correct udhcpc script.
>
> Am I missing something?
my bad, I try to keep the usage.h and show_usage() in sync, I hadn't
thought about it being desirable to make them a little different. You
might consider changing it to:
"\t-s,\t--script=file\tRun file at dhcp events (default: "
CONFIG_UDHCPC_SCRIPT_PATH")\n"
[setting CONFIG_UDHCPC_SCRIPT_PATH for udhcpc outside of busybox in the
libbb_udhcp.h compatibility header]
Might be considered overkill though since it would seem a little silly
to list all the default options in the help. However, since the script
is the thing so many people miss (I've even had people sending me
patches to modify behavior that is easily performed in the script), it
might be a good idea to point it out. Any opinions?
--
Russ Dill <Russ.Dill at asu.edu>
More information about the busybox
mailing list