diff options
author | Andre Kalb <Andre.Kalb@sma.de> | 2020-05-05 18:24:25 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-01-01 19:08:28 +0100 |
commit | 5f2e00f66d11d99dad16c259aff331908bca4267 (patch) | |
tree | 60555f21d8048d401cf4209ade17fd2ac9644f63 /networking/udhcp/Config.src | |
parent | 868f383699ef65c828fbc41e7c7c7368ab56f8a5 (diff) | |
download | busybox-w32-5f2e00f66d11d99dad16c259aff331908bca4267.tar.gz busybox-w32-5f2e00f66d11d99dad16c259aff331908bca4267.tar.bz2 busybox-w32-5f2e00f66d11d99dad16c259aff331908bca4267.zip |
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.src | 8 |
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 | |||
104 | comment "Common options for DHCP applets" | 104 | comment "Common options for DHCP applets" |
105 | depends on UDHCPD || UDHCPC || UDHCPC6 || DHCPRELAY | 105 | depends on UDHCPD || UDHCPC || UDHCPC6 || DHCPRELAY |
106 | 106 | ||
107 | config UDHCPC_DEFAULT_INTERFACE | ||
108 | string "Default interface name" | ||
109 | default "eth0" | ||
110 | depends on UDHCPC || UDHCPC6 | ||
111 | help | ||
112 | The interface that will be used if no other interface is | ||
113 | specified on the commandline. | ||
114 | |||
107 | config FEATURE_UDHCP_PORT | 115 | config FEATURE_UDHCP_PORT |
108 | bool "Enable '-P port' option for udhcpd and udhcpc" | 116 | bool "Enable '-P port' option for udhcpd and udhcpc" |
109 | default n | 117 | default n |