diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-14 18:31:07 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-14 18:31:07 +0100 |
| commit | a8c696bf09d8151323f6e99348c4bc8989f829c8 (patch) | |
| tree | 34b59ab83132296ea7c1c9618fdb58276a077d22 /networking/Config.src | |
| parent | f417ffd88f194bbfd18605882ee242190c1bab34 (diff) | |
| download | busybox-w32-a8c696bf09d8151323f6e99348c4bc8989f829c8.tar.gz busybox-w32-a8c696bf09d8151323f6e99348c4bc8989f829c8.tar.bz2 busybox-w32-a8c696bf09d8151323f6e99348c4bc8989f829c8.zip | |
Make ifup and ifdown individually selectable.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/Config.src')
| -rw-r--r-- | networking/Config.src | 105 |
1 files changed, 0 insertions, 105 deletions
diff --git a/networking/Config.src b/networking/Config.src index 398a5ee25..43667fe6a 100644 --- a/networking/Config.src +++ b/networking/Config.src | |||
| @@ -342,111 +342,6 @@ config IFPLUGD | |||
| 342 | help | 342 | help |
| 343 | Network interface plug detection daemon. | 343 | Network interface plug detection daemon. |
| 344 | 344 | ||
| 345 | config IFUPDOWN | ||
| 346 | bool "ifupdown" | ||
| 347 | default y | ||
| 348 | help | ||
| 349 | Activate or deactivate the specified interfaces. This applet makes | ||
| 350 | use of either "ifconfig" and "route" or the "ip" command to actually | ||
| 351 | configure network interfaces. Therefore, you will probably also want | ||
| 352 | to enable either IFCONFIG and ROUTE, or enable | ||
| 353 | FEATURE_IFUPDOWN_IP and the various IP options. Of | ||
| 354 | course you could use non-busybox versions of these programs, so | ||
| 355 | against my better judgement (since this will surely result in plenty | ||
| 356 | of support questions on the mailing list), I do not force you to | ||
| 357 | enable these additional options. It is up to you to supply either | ||
| 358 | "ifconfig", "route" and "run-parts" or the "ip" command, either | ||
| 359 | via busybox or via standalone utilities. | ||
| 360 | |||
| 361 | config IFUPDOWN_IFSTATE_PATH | ||
| 362 | string "Absolute path to ifstate file" | ||
| 363 | default "/var/run/ifstate" | ||
| 364 | depends on IFUPDOWN | ||
| 365 | help | ||
| 366 | ifupdown keeps state information in a file called ifstate. | ||
| 367 | Typically it is located in /var/run/ifstate, however | ||
| 368 | some distributions tend to put it in other places | ||
| 369 | (debian, for example, uses /etc/network/run/ifstate). | ||
| 370 | This config option defines location of ifstate. | ||
| 371 | |||
| 372 | config FEATURE_IFUPDOWN_IP | ||
| 373 | bool "Use ip applet" | ||
| 374 | default y | ||
| 375 | depends on IFUPDOWN | ||
| 376 | help | ||
| 377 | Use the iproute "ip" command to implement "ifup" and "ifdown", rather | ||
| 378 | than the default of using the older 'ifconfig' and 'route' utilities. | ||
| 379 | |||
| 380 | config FEATURE_IFUPDOWN_IP_BUILTIN | ||
| 381 | bool "Use busybox ip applet" | ||
| 382 | default y | ||
| 383 | depends on FEATURE_IFUPDOWN_IP | ||
| 384 | select PLATFORM_LINUX | ||
| 385 | select IP | ||
| 386 | select FEATURE_IP_ADDRESS | ||
| 387 | select FEATURE_IP_LINK | ||
| 388 | select FEATURE_IP_ROUTE | ||
| 389 | help | ||
| 390 | Use the busybox iproute "ip" applet to implement "ifupdown". | ||
| 391 | |||
| 392 | If left disabled, you must install the full-blown iproute2 | ||
| 393 | utility or the "ifup" and "ifdown" applets will not work. | ||
| 394 | |||
| 395 | config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN | ||
| 396 | bool "Use busybox ifconfig and route applets" | ||
| 397 | default n | ||
| 398 | depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP | ||
| 399 | select IFCONFIG | ||
| 400 | select ROUTE | ||
| 401 | help | ||
| 402 | Use the busybox iproute "ifconfig" and "route" applets to | ||
| 403 | implement the "ifup" and "ifdown" utilities. | ||
| 404 | |||
| 405 | If left disabled, you must install the full-blown ifconfig | ||
| 406 | and route utilities, or the "ifup" and "ifdown" applets will not | ||
| 407 | work. | ||
| 408 | |||
| 409 | config FEATURE_IFUPDOWN_IPV4 | ||
| 410 | bool "Support for IPv4" | ||
| 411 | default y | ||
| 412 | depends on IFUPDOWN | ||
| 413 | help | ||
| 414 | If you want ifup/ifdown to talk IPv4, leave this on. | ||
| 415 | |||
| 416 | config FEATURE_IFUPDOWN_IPV6 | ||
| 417 | bool "Support for IPv6" | ||
| 418 | default y | ||
| 419 | depends on IFUPDOWN && FEATURE_IPV6 | ||
| 420 | help | ||
| 421 | If you need support for IPv6, turn this option on. | ||
| 422 | |||
| 423 | ### UNUSED | ||
| 424 | ###config FEATURE_IFUPDOWN_IPX | ||
| 425 | ### bool "Support for IPX" | ||
| 426 | ### default y | ||
| 427 | ### depends on IFUPDOWN | ||
| 428 | ### help | ||
| 429 | ### If this option is selected you can use busybox to work with IPX | ||
| 430 | ### networks. | ||
| 431 | |||
| 432 | config FEATURE_IFUPDOWN_MAPPING | ||
| 433 | bool "Enable mapping support" | ||
| 434 | default y | ||
| 435 | depends on IFUPDOWN | ||
| 436 | help | ||
| 437 | This enables support for the "mapping" stanza, unless you have | ||
| 438 | a weird network setup you don't need it. | ||
| 439 | |||
| 440 | config FEATURE_IFUPDOWN_EXTERNAL_DHCP | ||
| 441 | bool "Support for external dhcp clients" | ||
| 442 | default n | ||
| 443 | depends on IFUPDOWN | ||
| 444 | help | ||
| 445 | This enables support for the external dhcp clients. Clients are | ||
| 446 | tried in the following order: dhcpcd, dhclient, pump and udhcpc. | ||
| 447 | Otherwise, if udhcpc applet is enabled, it is used. | ||
| 448 | Otherwise, ifup/ifdown will have no support for DHCP. | ||
| 449 | |||
| 450 | config INETD | 345 | config INETD |
| 451 | bool "inetd" | 346 | bool "inetd" |
| 452 | default y | 347 | default y |
