aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-07-26 09:27:02 +0000
committerEric Andersen <andersen@codepoet.org>2003-07-26 09:27:02 +0000
commit342aea967fae1a9dc05e69bfd4e5a270ca76b638 (patch)
treecd49c65615b5e0bd009d60910e9bcbf7d60572ad
parenta1ed06b04739d85389fe23e78e97556864b77c64 (diff)
downloadbusybox-w32-342aea967fae1a9dc05e69bfd4e5a270ca76b638.tar.gz
busybox-w32-342aea967fae1a9dc05e69bfd4e5a270ca76b638.tar.bz2
busybox-w32-342aea967fae1a9dc05e69bfd4e5a270ca76b638.zip
Allow people to use the full blown iproute2 programs with busybox ifupdown.
-rw-r--r--networking/Config.in25
1 files changed, 21 insertions, 4 deletions
diff --git a/networking/Config.in b/networking/Config.in
index 26b427084..406b99163 100644
--- a/networking/Config.in
+++ b/networking/Config.in
@@ -176,14 +176,31 @@ config CONFIG_IFUPDOWN
176 bool "ifupdown" 176 bool "ifupdown"
177 default n 177 default n
178 help 178 help
179 Activate or deactivate the specified interface. 179 Activate or deactivate the specified interfaces. This applet makes
180 180 use of either "ifconfig" and "route" or the "ip" command to actually
181 configure network interfaces. Therefore, you will probably also want
182 to enable either CONFIG_IFCONFIG and CONFIG_ROUTE, or enable
183 CONFIG_FEATURE_IFUPDOWN_IP and the various CONFIG_IP options. Of
184 course you could use non-busybox versions of these programs, so
185 against my better judgement (since this will surely result in plenty
186 of support questions on the mailing list), I do not force you to
187 enable these additional options. It is up to you to supply either
188 "ifconfig" and "route" or the "ip" command, either via busybox or via
189 standalone utilities.
190
191# I really should force these to be enabled
192# && CONFIG_IP && CONFIG_FEATURE_IP_ADDRESS && CONFIG_FEATURE_IP_LINK && CONFIG_FEATURE_IP_ROUTE
193# but then people could not use the full-blown iproute2 program...
181config CONFIG_FEATURE_IFUPDOWN_IP 194config CONFIG_FEATURE_IFUPDOWN_IP
182 bool " Use ip applet" 195 bool " Use ip applet"
183 default n 196 default n
184 depends on CONFIG_IFUPDOWN && CONFIG_IP && CONFIG_FEATURE_IP_ADDRESS && CONFIG_FEATURE_IP_LINK && CONFIG_FEATURE_IP_ROUTE 197 depends on CONFIG_IFUPDOWN
185 help 198 help
186 Use "ip" in "ifupdown". 199 Use the iproute "ip" command to implement "ifupdown". You will
200 probably want to also enable CONFIG_IP, CONFIG_FEATURE_IP_ADDRESS,
201 CONFIG_FEATURE_IP_LINK, and CONFIG_FEATURE_IP_ROUTE. Of course
202 if you wanted to use the full-blown iproute2 program you could
203 leave the the busybox CONFIG_IP* options disabled.
187 204
188config CONFIG_FEATURE_IFUPDOWN_IPV4 205config CONFIG_FEATURE_IFUPDOWN_IPV4
189 bool " Enable support for IPv4" 206 bool " Enable support for IPv4"