diff options
-rw-r--r-- | networking/Config.in | 38 |
1 files changed, 30 insertions, 8 deletions
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 | |||
196 | "ifconfig" and "route" or the "ip" command, either via busybox or via | 196 | "ifconfig" and "route" or the "ip" command, either via busybox or via |
197 | standalone utilities. | 197 | standalone utilities. |
198 | 198 | ||
199 | # I really should force these to be enabled | ||
200 | # && CONFIG_IP && CONFIG_FEATURE_IP_ADDRESS && CONFIG_FEATURE_IP_LINK && CONFIG_FEATURE_IP_ROUTE | ||
201 | # but then people could not use the full-blown iproute2 program... | ||
202 | config CONFIG_FEATURE_IFUPDOWN_IP | 199 | config CONFIG_FEATURE_IFUPDOWN_IP |
203 | bool " Use ip applet" | 200 | bool " Use ip applet" |
204 | default n | 201 | default n |
205 | depends on CONFIG_IFUPDOWN | 202 | depends on CONFIG_IFUPDOWN |
206 | help | 203 | help |
207 | Use the iproute "ip" command to implement "ifupdown". You will | 204 | Use the iproute "ip" command to implement "ifup" and "ifdown", rather |
208 | probably want to also enable CONFIG_IP, CONFIG_FEATURE_IP_ADDRESS, | 205 | than the default of using the older 'ifconfig' and 'route' utilities. |
209 | CONFIG_FEATURE_IP_LINK, and CONFIG_FEATURE_IP_ROUTE. Of course | 206 | |
210 | if you wanted to use the full-blown iproute2 program you could | 207 | config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN |
211 | leave the the busybox CONFIG_IP* options disabled. | 208 | bool " Use busybox ip applet" |
209 | default y | ||
210 | depends on CONFIG_FEATURE_IFUPDOWN_IP | ||
211 | select CONFIG_IP | ||
212 | select CONFIG_FEATURE_IP_ADDRESS | ||
213 | select CONFIG_FEATURE_IP_LINK | ||
214 | select CONFIG_FEATURE_IP_ROUTE | ||
215 | help | ||
216 | Use the busybox iproute "ip" applet to implement "ifupdown". | ||
217 | |||
218 | If leave this disabled, you must install the full-blown iproute2 | ||
219 | utility or the "ifup" and "ifdown" applets will not work. | ||
220 | |||
221 | config CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN | ||
222 | bool " Use busybox ifconfig and route applets" | ||
223 | default y | ||
224 | depends on CONFIG_IFUPDOWN && !CONFIG_FEATURE_IFUPDOWN_IP | ||
225 | select CONFIG_IFCONFIG | ||
226 | select CONFIG_ROUTE | ||
227 | help | ||
228 | Use the busybox iproute "ifconfig" and "route" applets to | ||
229 | implement the "ifup" and "ifdown" utilities. | ||
230 | |||
231 | If leave this disabled, you must install the full-blown ifconfig | ||
232 | and route utilities, or the "ifup" and "ifdown" applets will not | ||
233 | work. | ||
212 | 234 | ||
213 | config CONFIG_FEATURE_IFUPDOWN_IPV4 | 235 | config CONFIG_FEATURE_IFUPDOWN_IPV4 |
214 | bool " Enable support for IPv4" | 236 | bool " Enable support for IPv4" |