diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-07 06:02:39 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-07 06:02:39 +0000 |
commit | 049d6b8c0812b20c024d714a9008cc94713a6175 (patch) | |
tree | af95f506cc36561eef6204a1bd915bc0467cdc24 /networking/udhcp | |
parent | b7d8dd9ab18c5001b5a86127c94a07e3ee0125c7 (diff) | |
download | busybox-w32-049d6b8c0812b20c024d714a9008cc94713a6175.tar.gz busybox-w32-049d6b8c0812b20c024d714a9008cc94713a6175.tar.bz2 busybox-w32-049d6b8c0812b20c024d714a9008cc94713a6175.zip |
Add CONFIG_FEATURE_SYSLOG which controls whether
bb_xx_msg will ever try to send output to syslog.
Add "select CONFIG_FEATURE_SYSLOG" to relevant applets.
This allows to omit syslog code if we do not have
any syslog-capable applets in the build.
Diffstat (limited to 'networking/udhcp')
-rw-r--r-- | networking/udhcp/Config.in | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/networking/udhcp/Config.in b/networking/udhcp/Config.in index 01b2902ee..773293744 100644 --- a/networking/udhcp/Config.in +++ b/networking/udhcp/Config.in | |||
@@ -6,6 +6,7 @@ | |||
6 | config CONFIG_APP_UDHCPD | 6 | config CONFIG_APP_UDHCPD |
7 | bool "udhcp Server (udhcpd)" | 7 | bool "udhcp Server (udhcpd)" |
8 | default n | 8 | default n |
9 | select CONFIG_FEATURE_SYSLOG | ||
9 | help | 10 | help |
10 | uDHCPd is a DHCP server geared primarily toward embedded systems, | 11 | uDHCPd is a DHCP server geared primarily toward embedded systems, |
11 | while striving to be fully functional and RFC compliant. | 12 | while striving to be fully functional and RFC compliant. |
@@ -26,6 +27,7 @@ config CONFIG_APP_DUMPLEASES | |||
26 | config CONFIG_APP_UDHCPC | 27 | config CONFIG_APP_UDHCPC |
27 | bool "udhcp Client (udhcpc)" | 28 | bool "udhcp Client (udhcpc)" |
28 | default n | 29 | default n |
30 | select CONFIG_FEATURE_SYSLOG | ||
29 | help | 31 | help |
30 | uDHCPc is a DHCP client geared primarily toward embedded systems, | 32 | uDHCPc is a DHCP client geared primarily toward embedded systems, |
31 | while striving to be fully functional and RFC compliant. | 33 | while striving to be fully functional and RFC compliant. |
@@ -35,16 +37,6 @@ config CONFIG_APP_UDHCPC | |||
35 | 37 | ||
36 | See http://udhcp.busybox.net for further details. | 38 | See http://udhcp.busybox.net for further details. |
37 | 39 | ||
38 | config CONFIG_FEATURE_UDHCP_SYSLOG | ||
39 | bool "Log udhcp messages to syslog (instead of stdout)" | ||
40 | default n | ||
41 | depends on CONFIG_APP_UDHCPD || CONFIG_APP_UDHCPC | ||
42 | help | ||
43 | If selected, udhcpd will log all its messages to syslog, otherwise, | ||
44 | it will attempt to log them to stdout. | ||
45 | |||
46 | See http://udhcp.busybox.net for further details. | ||
47 | |||
48 | config CONFIG_FEATURE_UDHCP_DEBUG | 40 | config CONFIG_FEATURE_UDHCP_DEBUG |
49 | bool "Compile udhcp with noisy debugging messages" | 41 | bool "Compile udhcp with noisy debugging messages" |
50 | default n | 42 | default n |