summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorEric Andersen2003-08-08 23:12:12 +0000
committerEric Andersen2003-08-08 23:12:12 +0000
commitc601ff149a91fbadc06a8b0cd86d4dbbd73f84a2 (patch)
tree35eece88bb19429f0306f8cab1596e17eb6a9fd2 /networking
parent2e9c25700061b23982f8600288178c1f6a370c1e (diff)
downloadbusybox-c601ff149a91fbadc06a8b0cd86d4dbbd73f84a2.zip
busybox-c601ff149a91fbadc06a8b0cd86d4dbbd73f84a2.tar.gz
Begin using the new "select" option. Good stuff!
Diffstat (limited to 'networking')
-rw-r--r--networking/Config.in38
1 files changed, 30 insertions, 8 deletions
diff --git a/networking/Config.in b/networking/Config.in
index 42f8a79..754d8d9 100644
--- a/networking/Config.in
+++ b/networking/Config.in
@@ -196,19 +196,41 @@ config CONFIG_IFUPDOWN
"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
help
- 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.
+ Use the iproute "ip" command to implement "ifup" and "ifdown", rather
+ than the default of using the older 'ifconfig' and 'route' utilities.
+
+config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
+ bool " Use busybox ip applet"
+ default y
+ depends on CONFIG_FEATURE_IFUPDOWN_IP
+ select CONFIG_IP
+ select CONFIG_FEATURE_IP_ADDRESS
+ select CONFIG_FEATURE_IP_LINK
+ select CONFIG_FEATURE_IP_ROUTE
+ help
+ Use the busybox iproute "ip" applet to implement "ifupdown".
+
+ If leave this disabled, you must install the full-blown iproute2
+ utility or the "ifup" and "ifdown" applets will not work.
+
+config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN
+ bool " Use busybox ifconfig and route applets"
+ default y
+ depends on CONFIG_IFUPDOWN && !CONFIG_FEATURE_IFUPDOWN_IP
+ select CONFIG_IFCONFIG
+ select CONFIG_ROUTE
+ help
+ Use the busybox iproute "ifconfig" and "route" applets to
+ implement the "ifup" and "ifdown" utilities.
+
+ If leave this disabled, you must install the full-blown ifconfig
+ and route utilities, or the "ifup" and "ifdown" applets will not
+ work.
config CONFIG_FEATURE_IFUPDOWN_IPV4
bool " Enable support for IPv4"