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 | |
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')
-rw-r--r-- | networking/Config.in | 5 | ||||
-rw-r--r-- | networking/udhcp/Config.in | 12 |
2 files changed, 7 insertions, 10 deletions
diff --git a/networking/Config.in b/networking/Config.in index e5eb11caa..2dff021a8 100644 --- a/networking/Config.in +++ b/networking/Config.in | |||
@@ -33,6 +33,7 @@ config CONFIG_ETHER_WAKE | |||
33 | config CONFIG_FAKEIDENTD | 33 | config CONFIG_FAKEIDENTD |
34 | bool "fakeidentd" | 34 | bool "fakeidentd" |
35 | default n | 35 | default n |
36 | select CONFIG_FEATURE_SYSLOG | ||
36 | help | 37 | help |
37 | fakeidentd listens on the ident port and returns a predefined | 38 | fakeidentd listens on the ident port and returns a predefined |
38 | fake value on any query. | 39 | fake value on any query. |
@@ -288,6 +289,7 @@ config CONFIG_FEATURE_IFUPDOWN_MAPPING | |||
288 | config CONFIG_INETD | 289 | config CONFIG_INETD |
289 | bool "inetd" | 290 | bool "inetd" |
290 | default n | 291 | default n |
292 | select CONFIG_FEATURE_SYSLOG | ||
291 | help | 293 | help |
292 | Internet superserver daemon | 294 | Internet superserver daemon |
293 | 295 | ||
@@ -428,6 +430,7 @@ config CONFIG_FEATURE_IPCALC_LONG_OPTIONS | |||
428 | config CONFIG_NAMEIF | 430 | config CONFIG_NAMEIF |
429 | bool "nameif" | 431 | bool "nameif" |
430 | default n | 432 | default n |
433 | select CONFIG_FEATURE_SYSLOG | ||
431 | help | 434 | help |
432 | nameif is used to rename network interface by its MAC address. | 435 | nameif is used to rename network interface by its MAC address. |
433 | Renamed interfaces MUST be in the down state. | 436 | Renamed interfaces MUST be in the down state. |
@@ -539,6 +542,7 @@ config CONFIG_FEATURE_TELNET_AUTOLOGIN | |||
539 | config CONFIG_TELNETD | 542 | config CONFIG_TELNETD |
540 | bool "telnetd" | 543 | bool "telnetd" |
541 | default n | 544 | default n |
545 | select CONFIG_FEATURE_SYSLOG | ||
542 | help | 546 | help |
543 | A daemon for the TELNET protocol, allowing you to log onto the host | 547 | A daemon for the TELNET protocol, allowing you to log onto the host |
544 | running the daemon. Please keep in mind that the TELNET protocol | 548 | running the daemon. Please keep in mind that the TELNET protocol |
@@ -701,6 +705,7 @@ config CONFIG_FEATURE_WGET_LONG_OPTIONS | |||
701 | config CONFIG_ZCIP | 705 | config CONFIG_ZCIP |
702 | bool "zcip" | 706 | bool "zcip" |
703 | default n | 707 | default n |
708 | select CONFIG_FEATURE_SYSLOG | ||
704 | help | 709 | help |
705 | ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. | 710 | ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. |
706 | It's a daemon that allocates and defends a dynamically assigned | 711 | It's a daemon that allocates and defends a dynamically assigned |
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 |