aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-07 06:02:39 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-07 06:02:39 +0000
commit049d6b8c0812b20c024d714a9008cc94713a6175 (patch)
treeaf95f506cc36561eef6204a1bd915bc0467cdc24 /networking/udhcp
parentb7d8dd9ab18c5001b5a86127c94a07e3ee0125c7 (diff)
downloadbusybox-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.in12
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 @@
6config CONFIG_APP_UDHCPD 6config 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
26config CONFIG_APP_UDHCPC 27config 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
38config 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
48config CONFIG_FEATURE_UDHCP_DEBUG 40config 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