summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2003-07-26 09:27:02 +0000
committerEric Andersen2003-07-26 09:27:02 +0000
commit342aea967fae1a9dc05e69bfd4e5a270ca76b638 (patch)
treecd49c65615b5e0bd009d60910e9bcbf7d60572ad
parenta1ed06b04739d85389fe23e78e97556864b77c64 (diff)
downloadbusybox-342aea967fae1a9dc05e69bfd4e5a270ca76b638.zip
busybox-342aea967fae1a9dc05e69bfd4e5a270ca76b638.tar.gz
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 26b4270..406b991 100644
--- a/networking/Config.in
+++ b/networking/Config.in
@@ -176,14 +176,31 @@ config CONFIG_IFUPDOWN
bool "ifupdown"
default n
help
- Activate or deactivate the specified interface.
-
+ Activate or deactivate the specified interfaces. This applet makes
+ use of either "ifconfig" and "route" or the "ip" command to actually
+ configure network interfaces. Therefore, you will probably also want
+ to enable either CONFIG_IFCONFIG and CONFIG_ROUTE, or enable
+ CONFIG_FEATURE_IFUPDOWN_IP and the various CONFIG_IP options. Of
+ course you could use non-busybox versions of these programs, so
+ against my better judgement (since this will surely result in plenty
+ of support questions on the mailing list), I do not force you to
+ enable these additional options. It is up to you to supply either
+ "ifconfig" and "route" or the "ip" command, either via busybox or via
+ standalone utilities.
+
+# I really should force these to be enabled
+# && CONFIG_IP && CONFIG_FEATURE_IP_ADDRESS && CONFIG_FEATURE_IP_LINK && CONFIG_FEATURE_IP_ROUTE
+# but then people could not use the full-blown iproute2 program...
config CONFIG_FEATURE_IFUPDOWN_IP
bool " Use ip applet"
default n
- depends on CONFIG_IFUPDOWN && CONFIG_IP && CONFIG_FEATURE_IP_ADDRESS && CONFIG_FEATURE_IP_LINK && CONFIG_FEATURE_IP_ROUTE
+ depends on CONFIG_IFUPDOWN
help
- Use "ip" in "ifupdown".
+ Use the iproute "ip" command to implement "ifupdown". You will
+ probably want to also enable CONFIG_IP, CONFIG_FEATURE_IP_ADDRESS,
+ CONFIG_FEATURE_IP_LINK, and CONFIG_FEATURE_IP_ROUTE. Of course
+ if you wanted to use the full-blown iproute2 program you could
+ leave the the busybox CONFIG_IP* options disabled.
config CONFIG_FEATURE_IFUPDOWN_IPV4
bool " Enable support for IPv4"