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
This commit is contained in:
Denis Vlasenko
2007-08-14 16:45:29 +00:00
parent dbe6e66d6a
commit 3d17d2b430
4 changed files with 27 additions and 33 deletions

View File

@@ -54,17 +54,6 @@ config APP_UDHCPC
See http://udhcp.busybox.net for further details.
config FEATURE_UDHCP_SYSLOG
bool "Log udhcp messages to syslog"
default n
depends on APP_UDHCPD || APP_UDHCPC
select FEATURE_SYSLOG
help
If not daemonized, udhcpd prints its messages to stdout/stderr.
If this option is selected, it will also log them to syslog.
See http://udhcp.busybox.net for further details.
config FEATURE_UDHCP_DEBUG
bool "Compile udhcp with noisy debugging messages"
default n