From c601ff149a91fbadc06a8b0cd86d4dbbd73f84a2 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 8 Aug 2003 23:12:12 +0000 Subject: Begin using the new "select" option. Good stuff! --- networking/Config.in | 38 ++++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) (limited to 'networking/Config.in') diff --git a/networking/Config.in b/networking/Config.in index 42f8a79c2..754d8d9f9 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" -- cgit v1.2.3