Make ifup and ifdown individually selectable.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
f417ffd88f
commit
a8c696bf09
4 changed files with 127 additions and 116 deletions
|
@ -342,111 +342,6 @@ config IFPLUGD
|
|||
help
|
||||
Network interface plug detection daemon.
|
||||
|
||||
config IFUPDOWN
|
||||
bool "ifupdown"
|
||||
default y
|
||||
help
|
||||
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 IFCONFIG and ROUTE, or enable
|
||||
FEATURE_IFUPDOWN_IP and the various 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", "route" and "run-parts" or the "ip" command, either
|
||||
via busybox or via standalone utilities.
|
||||
|
||||
config IFUPDOWN_IFSTATE_PATH
|
||||
string "Absolute path to ifstate file"
|
||||
default "/var/run/ifstate"
|
||||
depends on IFUPDOWN
|
||||
help
|
||||
ifupdown keeps state information in a file called ifstate.
|
||||
Typically it is located in /var/run/ifstate, however
|
||||
some distributions tend to put it in other places
|
||||
(debian, for example, uses /etc/network/run/ifstate).
|
||||
This config option defines location of ifstate.
|
||||
|
||||
config FEATURE_IFUPDOWN_IP
|
||||
bool "Use ip applet"
|
||||
default y
|
||||
depends on IFUPDOWN
|
||||
help
|
||||
Use the iproute "ip" command to implement "ifup" and "ifdown", rather
|
||||
than the default of using the older 'ifconfig' and 'route' utilities.
|
||||
|
||||
config FEATURE_IFUPDOWN_IP_BUILTIN
|
||||
bool "Use busybox ip applet"
|
||||
default y
|
||||
depends on FEATURE_IFUPDOWN_IP
|
||||
select PLATFORM_LINUX
|
||||
select IP
|
||||
select FEATURE_IP_ADDRESS
|
||||
select FEATURE_IP_LINK
|
||||
select FEATURE_IP_ROUTE
|
||||
help
|
||||
Use the busybox iproute "ip" applet to implement "ifupdown".
|
||||
|
||||
If left disabled, you must install the full-blown iproute2
|
||||
utility or the "ifup" and "ifdown" applets will not work.
|
||||
|
||||
config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
|
||||
bool "Use busybox ifconfig and route applets"
|
||||
default n
|
||||
depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
|
||||
select IFCONFIG
|
||||
select ROUTE
|
||||
help
|
||||
Use the busybox iproute "ifconfig" and "route" applets to
|
||||
implement the "ifup" and "ifdown" utilities.
|
||||
|
||||
If left disabled, you must install the full-blown ifconfig
|
||||
and route utilities, or the "ifup" and "ifdown" applets will not
|
||||
work.
|
||||
|
||||
config FEATURE_IFUPDOWN_IPV4
|
||||
bool "Support for IPv4"
|
||||
default y
|
||||
depends on IFUPDOWN
|
||||
help
|
||||
If you want ifup/ifdown to talk IPv4, leave this on.
|
||||
|
||||
config FEATURE_IFUPDOWN_IPV6
|
||||
bool "Support for IPv6"
|
||||
default y
|
||||
depends on IFUPDOWN && FEATURE_IPV6
|
||||
help
|
||||
If you need support for IPv6, turn this option on.
|
||||
|
||||
### UNUSED
|
||||
###config FEATURE_IFUPDOWN_IPX
|
||||
### bool "Support for IPX"
|
||||
### default y
|
||||
### depends on IFUPDOWN
|
||||
### help
|
||||
### If this option is selected you can use busybox to work with IPX
|
||||
### networks.
|
||||
|
||||
config FEATURE_IFUPDOWN_MAPPING
|
||||
bool "Enable mapping support"
|
||||
default y
|
||||
depends on IFUPDOWN
|
||||
help
|
||||
This enables support for the "mapping" stanza, unless you have
|
||||
a weird network setup you don't need it.
|
||||
|
||||
config FEATURE_IFUPDOWN_EXTERNAL_DHCP
|
||||
bool "Support for external dhcp clients"
|
||||
default n
|
||||
depends on IFUPDOWN
|
||||
help
|
||||
This enables support for the external dhcp clients. Clients are
|
||||
tried in the following order: dhcpcd, dhclient, pump and udhcpc.
|
||||
Otherwise, if udhcpc applet is enabled, it is used.
|
||||
Otherwise, ifup/ifdown will have no support for DHCP.
|
||||
|
||||
config INETD
|
||||
bool "inetd"
|
||||
default y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue