diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-14 16:45:29 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-14 16:45:29 +0000 |
commit | 3d17d2b430a6a68c967b789c990cc441154d695e (patch) | |
tree | b01535085348ea653c1c9d5ef3b525b461c02fc3 /include | |
parent | dbe6e66d6a8addbbf9438f40a645be8ae105fa8a (diff) | |
download | busybox-w32-3d17d2b430a6a68c967b789c990cc441154d695e.tar.gz busybox-w32-3d17d2b430a6a68c967b789c990cc441154d695e.tar.bz2 busybox-w32-3d17d2b430a6a68c967b789c990cc441154d695e.zip |
udhcpd: add -f "foreground" and -S "syslog" options
udhcpc: add -S "syslog" options
remove CONFIG_FEATURE_UDHCP_SYSLOG
function old new delta
udhcpd_main 1168 1201 +33
udhcpc_main 2414 2425 +11
static.udhcpc_longopts 191 200 +9
qgravechar 112 108 -4
packed_usage 22843 22827 -16
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/2 up/down: 53/-20) Total: 33 bytes
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/include/usage.h b/include/usage.h index d01e3e4f3..1d4459df1 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -3654,27 +3654,29 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3654 | "[-Cfbnqtv] [-c CID] [-V VCLS] [-H HOSTNAME] [-i INTERFACE]\n" \ | 3654 | "[-Cfbnqtv] [-c CID] [-V VCLS] [-H HOSTNAME] [-i INTERFACE]\n" \ |
3655 | " [-p pidfile] [-r IP] [-s script]" | 3655 | " [-p pidfile] [-r IP] [-s script]" |
3656 | #define udhcpc_full_usage \ | 3656 | #define udhcpc_full_usage \ |
3657 | " -V,--vendorclass=CLASSID Set vendor class identifier\n" \ | 3657 | "\n -V,--vendorclass=CLASSID Set vendor class identifier" \ |
3658 | " -i,--interface=INTERFACE Interface to use (default: eth0)\n" \ | 3658 | "\n -i,--interface=INTERFACE Interface to use (default: eth0)" \ |
3659 | " -H,-h,--hostname=HOSTNAME Client hostname\n" \ | 3659 | "\n -H,-h,--hostname=HOSTNAME Client hostname" \ |
3660 | " -c,--clientid=CLIENTID Set client identifier\n" \ | 3660 | "\n -c,--clientid=CLIENTID Set client identifier" \ |
3661 | " -C,--clientid-none Suppress default client identifier\n" \ | 3661 | "\n -C,--clientid-none Suppress default client identifier" \ |
3662 | " -p,--pidfile=file Store process ID of daemon in file\n" \ | 3662 | "\n -p,--pidfile=file Store process ID of daemon in file" \ |
3663 | " -r,--request=IP IP address to request (default: none)\n" \ | 3663 | "\n -r,--request=IP IP address to request" \ |
3664 | " -s,--script=file Run file at dhcp events (default: /usr/share/udhcpc/default.script)\n" \ | 3664 | "\n -s,--script=file Run file at dhcp events (default: /usr/share/udhcpc/default.script)" \ |
3665 | " -t,--retries=NUM Send up to NUM request packets\n"\ | 3665 | "\n -t,--retries=N Send up to N request packets"\ |
3666 | " -f,--foreground Do not fork after getting lease\n" \ | 3666 | "\n -f,--foreground Stay in foreground" \ |
3667 | " -b,--background Fork to background if lease cannot be immediately negotiated\n" \ | 3667 | "\n -b,--background Background if lease cannot be immediately negotiated" \ |
3668 | " -n,--now Exit with failure if lease cannot be immediately negotiated\n" \ | 3668 | "\n -S,--syslog Log to syslog too" \ |
3669 | " -q,--quit Quit after obtaining lease\n" \ | 3669 | "\n -n,--now Exit with failure if lease cannot be immediately negotiated" \ |
3670 | " -R,--release Release IP on quit\n" \ | 3670 | "\n -q,--quit Quit after obtaining lease" \ |
3671 | " -v,--version Display version" \ | 3671 | "\n -R,--release Release IP on quit" \ |
3672 | "\n -v,--version Display version" \ | ||
3672 | 3673 | ||
3673 | #define udhcpd_trivial_usage \ | 3674 | #define udhcpd_trivial_usage \ |
3674 | "[configfile]" \ | 3675 | "[-fS] [configfile]" \ |
3675 | 3676 | ||
3676 | #define udhcpd_full_usage \ | 3677 | #define udhcpd_full_usage \ |
3677 | "" | 3678 | "\n -f Stay in foreground" \ |
3679 | "\n -S Log to syslog too" | ||
3678 | 3680 | ||
3679 | #define umount_trivial_usage \ | 3681 | #define umount_trivial_usage \ |
3680 | "[flags] FILESYSTEM|DIRECTORY" | 3682 | "[flags] FILESYSTEM|DIRECTORY" |