diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-27 10:53:09 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-27 10:53:09 +0200 |
commit | 68b653b66b0db6b1554806650fb0bebd7af9ef3b (patch) | |
tree | 6549966edd734b162fc4f6c88271b1023fa0d013 | |
parent | 86d5bf4246a7ba68d220bc6c7a7a3be62119dc12 (diff) | |
download | busybox-w32-68b653b66b0db6b1554806650fb0bebd7af9ef3b.tar.gz busybox-w32-68b653b66b0db6b1554806650fb0bebd7af9ef3b.tar.bz2 busybox-w32-68b653b66b0db6b1554806650fb0bebd7af9ef3b.zip |
config: trim/improve item names and help texts, take 2
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | editors/awk.c | 3 | ||||
-rw-r--r-- | loginutils/login.c | 2 | ||||
-rw-r--r-- | loginutils/passwd.c | 2 | ||||
-rw-r--r-- | loginutils/vlock.c | 2 | ||||
-rw-r--r-- | miscutils/crontab.c | 2 | ||||
-rw-r--r-- | networking/ftpd.c | 13 | ||||
-rw-r--r-- | networking/ifupdown.c | 4 | ||||
-rw-r--r-- | networking/ip.c | 18 | ||||
-rw-r--r-- | networking/telnetd.c | 2 | ||||
-rw-r--r-- | networking/tftp.c | 16 | ||||
-rw-r--r-- | networking/udhcp/Config.src | 80 | ||||
-rw-r--r-- | networking/udhcp/d6_dhcpc.c | 2 | ||||
-rw-r--r-- | util-linux/blkid.c | 2 | ||||
-rw-r--r-- | util-linux/findfs.c | 2 | ||||
-rw-r--r-- | util-linux/mdev.c | 2 | ||||
-rw-r--r-- | util-linux/mount.c | 3 |
16 files changed, 81 insertions, 74 deletions
diff --git a/editors/awk.c b/editors/awk.c index aa927db1a..cc17ad438 100644 --- a/editors/awk.c +++ b/editors/awk.c | |||
@@ -11,8 +11,7 @@ | |||
11 | //config: bool "awk (22 kb)" | 11 | //config: bool "awk (22 kb)" |
12 | //config: default y | 12 | //config: default y |
13 | //config: help | 13 | //config: help |
14 | //config: Awk is used as a pattern scanning and processing language. This is | 14 | //config: Awk is used as a pattern scanning and processing language. |
15 | //config: the BusyBox implementation of that programming language. | ||
16 | //config: | 15 | //config: |
17 | //config:config FEATURE_AWK_LIBM | 16 | //config:config FEATURE_AWK_LIBM |
18 | //config: bool "Enable math functions (requires libm)" | 17 | //config: bool "Enable math functions (requires libm)" |
diff --git a/loginutils/login.c b/loginutils/login.c index 39f703f07..381468d81 100644 --- a/loginutils/login.c +++ b/loginutils/login.c | |||
@@ -9,7 +9,7 @@ | |||
9 | //config: help | 9 | //config: help |
10 | //config: login is used when signing onto a system. | 10 | //config: login is used when signing onto a system. |
11 | //config: | 11 | //config: |
12 | //config: Note that Busybox binary must be setuid root for this applet to | 12 | //config: Note that busybox binary must be setuid root for this applet to |
13 | //config: work properly. | 13 | //config: work properly. |
14 | //config: | 14 | //config: |
15 | //config:config LOGIN_SESSION_AS_CHILD | 15 | //config:config LOGIN_SESSION_AS_CHILD |
diff --git a/loginutils/passwd.c b/loginutils/passwd.c index 03f8ad0a4..3e1ef9abf 100644 --- a/loginutils/passwd.c +++ b/loginutils/passwd.c | |||
@@ -12,7 +12,7 @@ | |||
12 | //config: may change the password for any account. The administrator of a group | 12 | //config: may change the password for any account. The administrator of a group |
13 | //config: may change the password for the group. | 13 | //config: may change the password for the group. |
14 | //config: | 14 | //config: |
15 | //config: Note that Busybox binary must be setuid root for this applet to | 15 | //config: Note that busybox binary must be setuid root for this applet to |
16 | //config: work properly. | 16 | //config: work properly. |
17 | //config: | 17 | //config: |
18 | //config:config FEATURE_PASSWD_WEAK_CHECK | 18 | //config:config FEATURE_PASSWD_WEAK_CHECK |
diff --git a/loginutils/vlock.c b/loginutils/vlock.c index f22abd3aa..bf46d085c 100644 --- a/loginutils/vlock.c +++ b/loginutils/vlock.c | |||
@@ -21,7 +21,7 @@ | |||
21 | //config: help | 21 | //config: help |
22 | //config: Build the "vlock" applet which allows you to lock (virtual) terminals. | 22 | //config: Build the "vlock" applet which allows you to lock (virtual) terminals. |
23 | //config: | 23 | //config: |
24 | //config: Note that Busybox binary must be setuid root for this applet to | 24 | //config: Note that busybox binary must be setuid root for this applet to |
25 | //config: work properly. | 25 | //config: work properly. |
26 | 26 | ||
27 | //applet:/* Needs to be run by root or be suid root - needs to change uid and gid: */ | 27 | //applet:/* Needs to be run by root or be suid root - needs to change uid and gid: */ |
diff --git a/miscutils/crontab.c b/miscutils/crontab.c index 23cb54887..804cb57f2 100644 --- a/miscutils/crontab.c +++ b/miscutils/crontab.c | |||
@@ -15,7 +15,7 @@ | |||
15 | //config: help | 15 | //config: help |
16 | //config: Crontab manipulates the crontab for a particular user. Only | 16 | //config: Crontab manipulates the crontab for a particular user. Only |
17 | //config: the superuser may specify a different user and/or crontab directory. | 17 | //config: the superuser may specify a different user and/or crontab directory. |
18 | //config: Note that Busybox binary must be setuid root for this applet to | 18 | //config: Note that busybox binary must be setuid root for this applet to |
19 | //config: work properly. | 19 | //config: work properly. |
20 | 20 | ||
21 | /* Needs to be run by root or be suid root - needs to change /var/spool/cron* files: */ | 21 | /* Needs to be run by root or be suid root - needs to change /var/spool/cron* files: */ |
diff --git a/networking/ftpd.c b/networking/ftpd.c index aee00e1c3..c562c2886 100644 --- a/networking/ftpd.c +++ b/networking/ftpd.c | |||
@@ -18,11 +18,12 @@ | |||
18 | //config: Simple FTP daemon. You have to run it via inetd. | 18 | //config: Simple FTP daemon. You have to run it via inetd. |
19 | //config: | 19 | //config: |
20 | //config:config FEATURE_FTPD_WRITE | 20 | //config:config FEATURE_FTPD_WRITE |
21 | //config: bool "Enable upload commands" | 21 | //config: bool "Enable -w (upload commands)" |
22 | //config: default y | 22 | //config: default y |
23 | //config: depends on FTPD | 23 | //config: depends on FTPD |
24 | //config: help | 24 | //config: help |
25 | //config: Enable all kinds of FTP upload commands (-w option) | 25 | //config: Enable -w option. "ftpd -w" will accept upload commands |
26 | //config: such as STOR, STOU, APPE, DELE, MKD, RMD, rename commands. | ||
26 | //config: | 27 | //config: |
27 | //config:config FEATURE_FTPD_ACCEPT_BROKEN_LIST | 28 | //config:config FEATURE_FTPD_ACCEPT_BROKEN_LIST |
28 | //config: bool "Enable workaround for RFC-violating clients" | 29 | //config: bool "Enable workaround for RFC-violating clients" |
@@ -40,7 +41,13 @@ | |||
40 | //config: default y | 41 | //config: default y |
41 | //config: depends on FTPD | 42 | //config: depends on FTPD |
42 | //config: help | 43 | //config: help |
43 | //config: Enable basic system login as seen in telnet etc. | 44 | //config: Require login, and change to logged in user's UID:GID before |
45 | //config: accessing any files. Option "-a USER" allows "anonymous" | ||
46 | //config: logins (treats them as if USER logged in). | ||
47 | //config: | ||
48 | //config: If this option is not selected, ftpd runs with the rights | ||
49 | //config: of the user it was started under, and does not require login. | ||
50 | //config: Take care to not launch it under root. | ||
44 | 51 | ||
45 | //applet:IF_FTPD(APPLET(ftpd, BB_DIR_USR_SBIN, BB_SUID_DROP)) | 52 | //applet:IF_FTPD(APPLET(ftpd, BB_DIR_USR_SBIN, BB_SUID_DROP)) |
46 | 53 | ||
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index f8c29ab00..c2cfe82ec 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c | |||
@@ -59,11 +59,11 @@ | |||
59 | //config: than the default of using the older "ifconfig" and "route" utilities. | 59 | //config: than the default of using the older "ifconfig" and "route" utilities. |
60 | //config: | 60 | //config: |
61 | //config: If Y: you must install either the full-blown iproute2 package | 61 | //config: If Y: you must install either the full-blown iproute2 package |
62 | //config: or enable "ip" applet in Busybox, or the "ifup" and "ifdown" applets | 62 | //config: or enable "ip" applet in busybox, or the "ifup" and "ifdown" applets |
63 | //config: will not work. | 63 | //config: will not work. |
64 | //config: | 64 | //config: |
65 | //config: If N: you must install either the full-blown ifconfig and route | 65 | //config: If N: you must install either the full-blown ifconfig and route |
66 | //config: utilities, or enable these applets in Busybox. | 66 | //config: utilities, or enable these applets in busybox. |
67 | //config: | 67 | //config: |
68 | //config:config FEATURE_IFUPDOWN_IPV4 | 68 | //config:config FEATURE_IFUPDOWN_IPV4 |
69 | //config: bool "Support IPv4" | 69 | //config: bool "Support IPv4" |
diff --git a/networking/ip.c b/networking/ip.c index cca7cbe12..8aaeef0db 100644 --- a/networking/ip.c +++ b/networking/ip.c | |||
@@ -14,8 +14,10 @@ | |||
14 | //config: select PLATFORM_LINUX | 14 | //config: select PLATFORM_LINUX |
15 | //config: help | 15 | //config: help |
16 | //config: The "ip" applet is a TCP/IP interface configuration and routing | 16 | //config: The "ip" applet is a TCP/IP interface configuration and routing |
17 | //config: utility. You generally don't need "ip" to use busybox with | 17 | //config: utility. |
18 | //config: TCP/IP. | 18 | //config: Short forms (enabled below) are busybox-specific extensions. |
19 | //config: The standard "ip" utility does not provide them. If you are | ||
20 | //config: trying to be portable, it's better to use "ip CMD" forms. | ||
19 | //config: | 21 | //config: |
20 | //config:config IPADDR | 22 | //config:config IPADDR |
21 | //config: bool "ipaddr (14 kb)" | 23 | //config: bool "ipaddr (14 kb)" |
@@ -23,7 +25,7 @@ | |||
23 | //config: select FEATURE_IP_ADDRESS | 25 | //config: select FEATURE_IP_ADDRESS |
24 | //config: select PLATFORM_LINUX | 26 | //config: select PLATFORM_LINUX |
25 | //config: help | 27 | //config: help |
26 | //config: Support short form of ip addr: ipaddr | 28 | //config: Short form of "ip addr" |
27 | //config: | 29 | //config: |
28 | //config:config IPLINK | 30 | //config:config IPLINK |
29 | //config: bool "iplink (16 kb)" | 31 | //config: bool "iplink (16 kb)" |
@@ -31,7 +33,7 @@ | |||
31 | //config: select FEATURE_IP_LINK | 33 | //config: select FEATURE_IP_LINK |
32 | //config: select PLATFORM_LINUX | 34 | //config: select PLATFORM_LINUX |
33 | //config: help | 35 | //config: help |
34 | //config: Support short form of ip link: iplink | 36 | //config: Short form of "ip link" |
35 | //config: | 37 | //config: |
36 | //config:config IPROUTE | 38 | //config:config IPROUTE |
37 | //config: bool "iproute (15 kb)" | 39 | //config: bool "iproute (15 kb)" |
@@ -39,7 +41,7 @@ | |||
39 | //config: select FEATURE_IP_ROUTE | 41 | //config: select FEATURE_IP_ROUTE |
40 | //config: select PLATFORM_LINUX | 42 | //config: select PLATFORM_LINUX |
41 | //config: help | 43 | //config: help |
42 | //config: Support short form of ip route: iproute | 44 | //config: Short form of "ip route" |
43 | //config: | 45 | //config: |
44 | //config:config IPTUNNEL | 46 | //config:config IPTUNNEL |
45 | //config: bool "iptunnel (9.6 kb)" | 47 | //config: bool "iptunnel (9.6 kb)" |
@@ -47,7 +49,7 @@ | |||
47 | //config: select FEATURE_IP_TUNNEL | 49 | //config: select FEATURE_IP_TUNNEL |
48 | //config: select PLATFORM_LINUX | 50 | //config: select PLATFORM_LINUX |
49 | //config: help | 51 | //config: help |
50 | //config: Support short form of ip tunnel: iptunnel | 52 | //config: Short form of "ip tunnel" |
51 | //config: | 53 | //config: |
52 | //config:config IPRULE | 54 | //config:config IPRULE |
53 | //config: bool "iprule (10 kb)" | 55 | //config: bool "iprule (10 kb)" |
@@ -55,7 +57,7 @@ | |||
55 | //config: select FEATURE_IP_RULE | 57 | //config: select FEATURE_IP_RULE |
56 | //config: select PLATFORM_LINUX | 58 | //config: select PLATFORM_LINUX |
57 | //config: help | 59 | //config: help |
58 | //config: Support short form of ip rule: iprule | 60 | //config: Short form of "ip rule" |
59 | //config: | 61 | //config: |
60 | //config:config IPNEIGH | 62 | //config:config IPNEIGH |
61 | //config: bool "ipneigh (8.3 kb)" | 63 | //config: bool "ipneigh (8.3 kb)" |
@@ -63,7 +65,7 @@ | |||
63 | //config: select FEATURE_IP_NEIGH | 65 | //config: select FEATURE_IP_NEIGH |
64 | //config: select PLATFORM_LINUX | 66 | //config: select PLATFORM_LINUX |
65 | //config: help | 67 | //config: help |
66 | //config: Support short form of ip neigh: ipneigh | 68 | //config: Short form of "ip neigh" |
67 | //config: | 69 | //config: |
68 | //config:config FEATURE_IP_ADDRESS | 70 | //config:config FEATURE_IP_ADDRESS |
69 | //config: bool "ip address" | 71 | //config: bool "ip address" |
diff --git a/networking/telnetd.c b/networking/telnetd.c index 6e12de07a..16c572e8d 100644 --- a/networking/telnetd.c +++ b/networking/telnetd.c | |||
@@ -54,7 +54,7 @@ | |||
54 | //config: | 54 | //config: |
55 | //config: You need to be sure that busybox has LOGIN and | 55 | //config: You need to be sure that busybox has LOGIN and |
56 | //config: FEATURE_SUID enabled. And finally, you should make | 56 | //config: FEATURE_SUID enabled. And finally, you should make |
57 | //config: certain that Busybox has been installed setuid root: | 57 | //config: certain that busybox has been installed setuid root: |
58 | //config: | 58 | //config: |
59 | //config: chown root.root /bin/busybox | 59 | //config: chown root.root /bin/busybox |
60 | //config: chmod 4755 /bin/busybox | 60 | //config: chmod 4755 /bin/busybox |
diff --git a/networking/tftp.c b/networking/tftp.c index 947e65169..5baa80448 100644 --- a/networking/tftp.c +++ b/networking/tftp.c | |||
@@ -22,15 +22,20 @@ | |||
22 | //config: bool "tftp (12 kb)" | 22 | //config: bool "tftp (12 kb)" |
23 | //config: default y | 23 | //config: default y |
24 | //config: help | 24 | //config: help |
25 | //config: This enables the Trivial File Transfer Protocol client program. TFTP | 25 | //config: Trivial File Transfer Protocol client. TFTP is usually used |
26 | //config: is usually used for simple, small transfers such as a root image | 26 | //config: for simple, small transfers such as a root image |
27 | //config: for a network-enabled bootloader. | 27 | //config: for a network-enabled bootloader. |
28 | //config: | 28 | //config: |
29 | //config:config FEATURE_TFTP_PROGRESS_BAR | ||
30 | //config: bool "Enable progress bar" | ||
31 | //config: default y | ||
32 | //config: depends on TFTP | ||
33 | //config: | ||
29 | //config:config TFTPD | 34 | //config:config TFTPD |
30 | //config: bool "tftpd (10 kb)" | 35 | //config: bool "tftpd (10 kb)" |
31 | //config: default y | 36 | //config: default y |
32 | //config: help | 37 | //config: help |
33 | //config: This enables the Trivial File Transfer Protocol server program. | 38 | //config: Trivial File Transfer Protocol server. |
34 | //config: It expects that stdin is a datagram socket and a packet | 39 | //config: It expects that stdin is a datagram socket and a packet |
35 | //config: is already pending on it. It will exit after one transfer. | 40 | //config: is already pending on it. It will exit after one transfer. |
36 | //config: In other words: it should be run from inetd in nowait mode, | 41 | //config: In other words: it should be run from inetd in nowait mode, |
@@ -68,11 +73,6 @@ | |||
68 | //config: Allow tftp to specify block size, and tftpd to understand | 73 | //config: Allow tftp to specify block size, and tftpd to understand |
69 | //config: "blksize" and "tsize" options. | 74 | //config: "blksize" and "tsize" options. |
70 | //config: | 75 | //config: |
71 | //config:config FEATURE_TFTP_PROGRESS_BAR | ||
72 | //config: bool "Enable progress bar" | ||
73 | //config: default y | ||
74 | //config: depends on TFTP && FEATURE_TFTP_BLOCKSIZE | ||
75 | //config: | ||
76 | //config:config TFTP_DEBUG | 76 | //config:config TFTP_DEBUG |
77 | //config: bool "Enable debug" | 77 | //config: bool "Enable debug" |
78 | //config: default n | 78 | //config: default n |
diff --git a/networking/udhcp/Config.src b/networking/udhcp/Config.src index af2fe1835..8ab8d30ce 100644 --- a/networking/udhcp/Config.src +++ b/networking/udhcp/Config.src | |||
@@ -3,26 +3,14 @@ | |||
3 | # see scripts/kbuild/config-language.txt. | 3 | # see scripts/kbuild/config-language.txt. |
4 | # | 4 | # |
5 | 5 | ||
6 | INSERT | ||
7 | |||
8 | config UDHCPD | 6 | config UDHCPD |
9 | bool "udhcpd (DHCP server)" | 7 | bool "udhcpd" |
10 | default y | 8 | default y |
11 | select PLATFORM_LINUX | 9 | select PLATFORM_LINUX |
12 | help | 10 | help |
13 | udhcpd is a DHCP server geared primarily toward embedded systems, | 11 | udhcpd is a DHCP server geared primarily toward embedded systems, |
14 | while striving to be fully functional and RFC compliant. | 12 | while striving to be fully functional and RFC compliant. |
15 | 13 | ||
16 | config FEATURE_UDHCPD_WRITE_LEASES_EARLY | ||
17 | bool "Rewrite the lease file at every new acknowledge" | ||
18 | default y | ||
19 | depends on UDHCPD | ||
20 | help | ||
21 | If selected, udhcpd will write a new file with leases every | ||
22 | time a new lease has been accepted, thus eliminating the need | ||
23 | to send SIGUSR1 for the initial writing or updating. Any timed | ||
24 | rewriting remains undisturbed. | ||
25 | |||
26 | config FEATURE_UDHCPD_BASE_IP_ON_MAC | 14 | config FEATURE_UDHCPD_BASE_IP_ON_MAC |
27 | bool "Select IP address based on client MAC" | 15 | bool "Select IP address based on client MAC" |
28 | default n | 16 | default n |
@@ -37,6 +25,16 @@ config FEATURE_UDHCPD_BASE_IP_ON_MAC | |||
37 | for the same client to (almost always) contain the same | 25 | for the same client to (almost always) contain the same |
38 | IP address. | 26 | IP address. |
39 | 27 | ||
28 | config FEATURE_UDHCPD_WRITE_LEASES_EARLY | ||
29 | bool "Rewrite lease file at every new acknowledge" | ||
30 | default y | ||
31 | depends on UDHCPD | ||
32 | help | ||
33 | If selected, udhcpd will write a new file with leases every | ||
34 | time a new lease has been accepted, thus eliminating the need | ||
35 | to send SIGUSR1 for the initial writing or updating. Any timed | ||
36 | rewriting remains undisturbed. | ||
37 | |||
40 | config DHCPD_LEASES_FILE | 38 | config DHCPD_LEASES_FILE |
41 | string "Absolute path to lease file" | 39 | string "Absolute path to lease file" |
42 | default "/var/lib/misc/udhcpd.leases" | 40 | default "/var/lib/misc/udhcpd.leases" |
@@ -57,12 +55,12 @@ config DHCPRELAY | |||
57 | bool "dhcprelay (5.8 kb)" | 55 | bool "dhcprelay (5.8 kb)" |
58 | default y | 56 | default y |
59 | help | 57 | help |
60 | dhcprelay listens for dhcp requests on one or more interfaces | 58 | dhcprelay listens for DHCP requests on one or more interfaces |
61 | and forwards these requests to a different interface or dhcp | 59 | and forwards these requests to a different interface or DHCP |
62 | server. | 60 | server. |
63 | 61 | ||
64 | config UDHCPC | 62 | config UDHCPC |
65 | bool "udhcpc (DHCP client)" | 63 | bool "udhcpc" |
66 | default y | 64 | default y |
67 | select PLATFORM_LINUX | 65 | select PLATFORM_LINUX |
68 | help | 66 | help |
@@ -102,19 +100,25 @@ config UDHCPC_DEFAULT_SCRIPT | |||
102 | examples/udhcp for a working example. Normally it is safe | 100 | examples/udhcp for a working example. Normally it is safe |
103 | to leave this untouched. | 101 | to leave this untouched. |
104 | 102 | ||
103 | # udhcpc6 config is inserted here: | ||
104 | INSERT | ||
105 | |||
106 | comment "Common options for DHCP applets" | ||
107 | depends on UDHCPD || UDHCPC || UDHCPC6 || DHCPRELAY | ||
108 | |||
105 | config FEATURE_UDHCP_PORT | 109 | config FEATURE_UDHCP_PORT |
106 | bool "Enable '-P port' option for udhcpd and udhcpc" | 110 | bool "Enable '-P port' option for udhcpd and udhcpc" |
107 | default n | 111 | default n |
108 | depends on UDHCPD || UDHCPC | 112 | depends on UDHCPD || UDHCPC || UDHCPC6 |
109 | help | 113 | help |
110 | At the cost of ~300 bytes, enables -P port option. | 114 | At the cost of ~300 bytes, enables -P port option. |
111 | This feature is typically not needed. | 115 | This feature is typically not needed. |
112 | 116 | ||
113 | config UDHCP_DEBUG | 117 | config UDHCP_DEBUG |
114 | int "Maximum verbosity level for udhcp applets (0..9)" | 118 | int "Maximum verbosity level (0..9)" |
115 | default 9 | 119 | default 9 |
116 | range 0 9 | 120 | range 0 9 |
117 | depends on UDHCPD || UDHCPC || DHCPRELAY | 121 | depends on UDHCPD || UDHCPC || UDHCPC6 || DHCPRELAY |
118 | help | 122 | help |
119 | Verbosity can be increased with multiple -v options. | 123 | Verbosity can be increased with multiple -v options. |
120 | This option controls how high it can be cranked up. | 124 | This option controls how high it can be cranked up. |
@@ -122,23 +126,6 @@ config UDHCP_DEBUG | |||
122 | Bigger values result in bigger code. Levels above 1 | 126 | Bigger values result in bigger code. Levels above 1 |
123 | are very verbose and useful for debugging only. | 127 | are very verbose and useful for debugging only. |
124 | 128 | ||
125 | config FEATURE_UDHCP_RFC3397 | ||
126 | bool "Support RFC3397 domain search (experimental)" | ||
127 | default y | ||
128 | depends on UDHCPD || UDHCPC | ||
129 | help | ||
130 | If selected, both client and server will support passing of domain | ||
131 | search lists via option 119, specified in RFC 3397, | ||
132 | and SIP servers option 120, specified in RFC 3361. | ||
133 | |||
134 | config FEATURE_UDHCP_8021Q | ||
135 | bool "Support 802.1Q VLAN parameters" | ||
136 | default y | ||
137 | depends on UDHCPD || UDHCPC | ||
138 | help | ||
139 | If selected, both client and server will support passing of VLAN | ||
140 | ID and priority via options 132 and 133 as per 802.1Q. | ||
141 | |||
142 | config UDHCPC_SLACK_FOR_BUGGY_SERVERS | 129 | config UDHCPC_SLACK_FOR_BUGGY_SERVERS |
143 | int "DHCP options slack buffer size" | 130 | int "DHCP options slack buffer size" |
144 | default 80 | 131 | default 80 |
@@ -149,10 +136,10 @@ config UDHCPC_SLACK_FOR_BUGGY_SERVERS | |||
149 | field larger than we expect (which might also be considered a | 136 | field larger than we expect (which might also be considered a |
150 | buffer overflow attempt). These packets are normally discarded. | 137 | buffer overflow attempt). These packets are normally discarded. |
151 | If circumstances beyond your control force you to support such | 138 | If circumstances beyond your control force you to support such |
152 | servers, this may help. The upper limit (924) makes dhcpc accept | 139 | servers, this may help. The upper limit (924) makes udhcpc accept |
153 | even 1500 byte packets (maximum-sized ethernet packets). | 140 | even 1500 byte packets (maximum-sized ethernet packets). |
154 | 141 | ||
155 | This option does not make dhcp[cd] emit non-standard | 142 | This option does not make udhcp[cd] emit non-standard |
156 | sized packets. | 143 | sized packets. |
157 | 144 | ||
158 | Known buggy DHCP servers: | 145 | Known buggy DHCP servers: |
@@ -161,3 +148,20 @@ config UDHCPC_SLACK_FOR_BUGGY_SERVERS | |||
161 | maximum size of entire IP packet, and sends packets | 148 | maximum size of entire IP packet, and sends packets |
162 | which are 28 bytes too large. | 149 | which are 28 bytes too large. |
163 | Seednet (ISP) VDSL: sends packets 2 bytes too large. | 150 | Seednet (ISP) VDSL: sends packets 2 bytes too large. |
151 | |||
152 | config FEATURE_UDHCP_RFC3397 | ||
153 | bool "Support RFC 3397 domain search options" | ||
154 | default y | ||
155 | depends on UDHCPD || UDHCPC | ||
156 | help | ||
157 | If selected, both client and server will support passing of domain | ||
158 | search lists via option 119, specified in RFC 3397, | ||
159 | and SIP servers option 120, specified in RFC 3361. | ||
160 | |||
161 | config FEATURE_UDHCP_8021Q | ||
162 | bool "Support 802.1Q VLAN parameters options" | ||
163 | default y | ||
164 | depends on UDHCPD || UDHCPC | ||
165 | help | ||
166 | If selected, both client and server will support passing of VLAN | ||
167 | ID and priority via options 132 and 133 as per 802.1Q. | ||
diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c index 5ebd05d01..43081efca 100644 --- a/networking/udhcp/d6_dhcpc.c +++ b/networking/udhcp/d6_dhcpc.c | |||
@@ -10,7 +10,7 @@ | |||
10 | */ | 10 | */ |
11 | 11 | ||
12 | //config:config UDHCPC6 | 12 | //config:config UDHCPC6 |
13 | //config: bool "udhcpc6 (DHCPv6 client, EXPERIMENTAL)" | 13 | //config: bool "udhcpc6" |
14 | //config: default n # not yet ready | 14 | //config: default n # not yet ready |
15 | //config: depends on FEATURE_IPV6 | 15 | //config: depends on FEATURE_IPV6 |
16 | //config: help | 16 | //config: help |
diff --git a/util-linux/blkid.c b/util-linux/blkid.c index f353cf248..0bd701aae 100644 --- a/util-linux/blkid.c +++ b/util-linux/blkid.c | |||
@@ -13,8 +13,6 @@ | |||
13 | //config: select VOLUMEID | 13 | //config: select VOLUMEID |
14 | //config: help | 14 | //config: help |
15 | //config: Lists labels and UUIDs of all filesystems. | 15 | //config: Lists labels and UUIDs of all filesystems. |
16 | //config: WARNING: | ||
17 | //config: With all submodules selected, it will add ~8k to busybox. | ||
18 | //config: | 16 | //config: |
19 | //config:config FEATURE_BLKID_TYPE | 17 | //config:config FEATURE_BLKID_TYPE |
20 | //config: bool "Print filesystem type" | 18 | //config: bool "Print filesystem type" |
diff --git a/util-linux/findfs.c b/util-linux/findfs.c index 359da581f..1102eeff5 100644 --- a/util-linux/findfs.c +++ b/util-linux/findfs.c | |||
@@ -14,8 +14,6 @@ | |||
14 | //config: select VOLUMEID | 14 | //config: select VOLUMEID |
15 | //config: help | 15 | //config: help |
16 | //config: Prints the name of a filesystem with given label or UUID. | 16 | //config: Prints the name of a filesystem with given label or UUID. |
17 | //config: WARNING: | ||
18 | //config: With all submodules selected, it will add ~8k to busybox. | ||
19 | 17 | ||
20 | /* Benefits from suid root: better access to /dev/BLOCKDEVs: */ | 18 | /* Benefits from suid root: better access to /dev/BLOCKDEVs: */ |
21 | //applet:IF_FINDFS(APPLET(findfs, BB_DIR_SBIN, BB_SUID_MAYBE)) | 19 | //applet:IF_FINDFS(APPLET(findfs, BB_DIR_SBIN, BB_SUID_MAYBE)) |
diff --git a/util-linux/mdev.c b/util-linux/mdev.c index 23b6f8285..8acc4d21d 100644 --- a/util-linux/mdev.c +++ b/util-linux/mdev.c | |||
@@ -56,7 +56,7 @@ | |||
56 | //config: For more information, please see docs/mdev.txt | 56 | //config: For more information, please see docs/mdev.txt |
57 | //config: | 57 | //config: |
58 | //config:config FEATURE_MDEV_LOAD_FIRMWARE | 58 | //config:config FEATURE_MDEV_LOAD_FIRMWARE |
59 | //config: bool "Support loading of firmwares" | 59 | //config: bool "Support loading of firmware" |
60 | //config: default y | 60 | //config: default y |
61 | //config: depends on MDEV | 61 | //config: depends on MDEV |
62 | //config: help | 62 | //config: help |
diff --git a/util-linux/mount.c b/util-linux/mount.c index 1a39da2db..823b7c13b 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -26,8 +26,7 @@ | |||
26 | //config: tree. The 'mount' utility is used to graft a filesystem onto a | 26 | //config: tree. The 'mount' utility is used to graft a filesystem onto a |
27 | //config: particular part of the tree. A filesystem can either live on a block | 27 | //config: particular part of the tree. A filesystem can either live on a block |
28 | //config: device, or it can be accessible over the network, as is the case with | 28 | //config: device, or it can be accessible over the network, as is the case with |
29 | //config: NFS filesystems. Most people using BusyBox will also want to enable | 29 | //config: NFS filesystems. |
30 | //config: the 'mount' utility. | ||
31 | //config: | 30 | //config: |
32 | //config:config FEATURE_MOUNT_FAKE | 31 | //config:config FEATURE_MOUNT_FAKE |
33 | //config: bool "Support option -f" | 32 | //config: bool "Support option -f" |