aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/Config.src
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-01-04 12:13:38 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-01-04 12:13:38 +0100
commitc6137ba51066d78a255f440ed0afc36639ea604a (patch)
tree0d06006f98a6b80076d13ada143a790a5baee09d /networking/udhcp/Config.src
parentc6725b0af68238a456690146adec763c04f66c82 (diff)
downloadbusybox-c6137ba51066d78a255f440ed0afc36639ea604a.tar.gz
udhcp: tweak config order and menu item names
All other applets are listed simply by their name, no reason why dumpleases doesn't do that. Group all udhcpd feature options directly after it. Put "NOT READY" into udhcpc6 item (some users actually tried to use it, and complained). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/Config.src')
-rw-r--r--networking/udhcp/Config.src54
1 files changed, 27 insertions, 27 deletions
diff --git a/networking/udhcp/Config.src b/networking/udhcp/Config.src
index 90fb313b5..7bc13a719 100644
--- a/networking/udhcp/Config.src
+++ b/networking/udhcp/Config.src
@@ -6,29 +6,13 @@
INSERT
config UDHCPD
- bool "udhcp server (udhcpd)"
+ bool "udhcpd (DHCP server)"
default y
select PLATFORM_LINUX
help
udhcpd is a DHCP server geared primarily toward embedded systems,
while striving to be fully functional and RFC compliant.
-config DHCPRELAY
- bool "dhcprelay"
- default y
- help
- dhcprelay listens for dhcp requests on one or more interfaces
- and forwards these requests to a different interface or dhcp
- server.
-
-config DUMPLEASES
- bool "Lease display utility (dumpleases)"
- default y
- help
- dumpleases displays the leases written out by the udhcpd server.
- Lease times are stored in the file by time remaining in lease, or
- by the absolute time that it expires in seconds from epoch.
-
config FEATURE_UDHCPD_WRITE_LEASES_EARLY
bool "Rewrite the lease file at every new acknowledge"
default y
@@ -61,8 +45,24 @@ config DHCPD_LEASES_FILE
udhcpd stores addresses in a lease file. This is the absolute path
of the file. Normally it is safe to leave it untouched.
+config DUMPLEASES
+ bool "dumpleases"
+ default y
+ help
+ dumpleases displays the leases written out by the udhcpd.
+ Lease times are stored in the file by time remaining in lease, or
+ by the absolute time that it expires in seconds from epoch.
+
+config DHCPRELAY
+ bool "dhcprelay"
+ default y
+ help
+ dhcprelay listens for dhcp requests on one or more interfaces
+ and forwards these requests to a different interface or dhcp
+ server.
+
config UDHCPC
- bool "udhcp client (udhcpc)"
+ bool "udhcpc (DHCP client)"
default y
select PLATFORM_LINUX
help
@@ -93,6 +93,15 @@ config FEATURE_UDHCPC_SANITIZEOPT
they will be replaced with string "bad" when exporting
to the environment.
+config UDHCPC_DEFAULT_SCRIPT
+ string "Absolute path to config script"
+ default "/usr/share/udhcpc/default.script"
+ depends on UDHCPC
+ help
+ This script is called after udhcpc receives an answer. See
+ examples/udhcp for a working example. Normally it is safe
+ to leave this untouched.
+
config FEATURE_UDHCP_PORT
bool "Enable '-P port' option for udhcpd and udhcpc"
default n
@@ -130,15 +139,6 @@ config FEATURE_UDHCP_8021Q
If selected, both client and server will support passing of VLAN
ID and priority via options 132 and 133 as per 802.1Q.
-config UDHCPC_DEFAULT_SCRIPT
- string "Absolute path to config script"
- default "/usr/share/udhcpc/default.script"
- depends on UDHCPC
- help
- This script is called after udhcpc receives an answer. See
- examples/udhcp for a working example. Normally it is safe
- to leave this untouched.
-
config UDHCPC_SLACK_FOR_BUGGY_SERVERS
int "DHCP options slack buffer size"
default 80