diff options
author | Denys Vlasenko | 2017-01-04 12:13:38 +0100 |
---|---|---|
committer | Denys Vlasenko | 2017-01-04 12:13:38 +0100 |
commit | c6137ba51066d78a255f440ed0afc36639ea604a (patch) | |
tree | 0d06006f98a6b80076d13ada143a790a5baee09d /networking | |
parent | c6725b0af68238a456690146adec763c04f66c82 (diff) | |
download | busybox-c6137ba51066d78a255f440ed0afc36639ea604a.zip busybox-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')
-rw-r--r-- | networking/udhcp/Config.src | 54 | ||||
-rw-r--r-- | networking/udhcp/d6_dhcpc.c | 2 |
2 files changed, 28 insertions, 28 deletions
diff --git a/networking/udhcp/Config.src b/networking/udhcp/Config.src index 90fb313..7bc13a7 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 diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c index ddf3412..64339c9 100644 --- a/networking/udhcp/d6_dhcpc.c +++ b/networking/udhcp/d6_dhcpc.c @@ -12,7 +12,7 @@ */ //config:config UDHCPC6 -//config: bool "udhcp client for DHCPv6 (udhcpc6)" +//config: bool "udhcpc6 (DHCPv6 client, NOT READY)" //config: default n # not yet ready //config: depends on FEATURE_IPV6 //config: help |