aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/Config.src
diff options
context:
space:
mode:
authorAndre Kalb <Andre.Kalb@sma.de>2020-05-05 18:24:25 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-01-01 19:08:28 +0100
commit5f2e00f66d11d99dad16c259aff331908bca4267 (patch)
tree60555f21d8048d401cf4209ade17fd2ac9644f63 /networking/udhcp/Config.src
parent868f383699ef65c828fbc41e7c7c7368ab56f8a5 (diff)
downloadbusybox-5f2e00f66d11d99dad16c259aff331908bca4267.tar.gz
udhcpc: Add support to change default interface name
Signed-off-by: Andre Kalb <Andre.Kalb@sma.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/Config.src')
-rw-r--r--networking/udhcp/Config.src8
1 files changed, 8 insertions, 0 deletions
diff --git a/networking/udhcp/Config.src b/networking/udhcp/Config.src
index 7d04bb246..8c8c11c26 100644
--- a/networking/udhcp/Config.src
+++ b/networking/udhcp/Config.src
@@ -104,6 +104,14 @@ INSERT
comment "Common options for DHCP applets"
depends on UDHCPD || UDHCPC || UDHCPC6 || DHCPRELAY
+config UDHCPC_DEFAULT_INTERFACE
+ string "Default interface name"
+ default "eth0"
+ depends on UDHCPC || UDHCPC6
+ help
+ The interface that will be used if no other interface is
+ specified on the commandline.
+
config FEATURE_UDHCP_PORT
bool "Enable '-P port' option for udhcpd and udhcpc"
default n