diff options
author | Holger Schurig <holgerschurig@gmail.com> | 2014-05-13 10:28:58 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-05-14 10:03:49 +0200 |
commit | fc0f7eec8249227195b918d5c6e0b30d97d097bb (patch) | |
tree | 49050b4858a91b7d7cf230c03714aa04cb988f9e /commands/Kconfig | |
parent | c524f74d5b491d3d003b5d6daedd75bdefd08c23 (diff) | |
download | barebox-fc0f7eec8249227195b918d5c6e0b30d97d097bb.tar.gz barebox-fc0f7eec8249227195b918d5c6e0b30d97d097bb.tar.xz |
commands: move CMD_IFUP to commands/Kconfig
* this places the command into the "Network commands"
section of Kconfig
* while at it, improve Kconfig documention
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r-- | commands/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig index 1dfc1dacf2..a4e482f495 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -1068,6 +1068,23 @@ config CMD_HOST Usage: host DESTINATION +config NET_CMD_IFUP + bool + prompt "ifup" + help + Bring up network interfaces based on config files. + + Usage: ifup [-af] [INTF] + + Each INTF must have a script /env/network/INTF that set the variables + ip (to 'static' or 'dynamic'), ipaddr, netmask, gateway, serverip + and/or ethaddr. A script /env/network/INTF-discover can contains for + discovering the ethernet device, e.g. 'usb'. + + Options: + -a bring up all interfaces + -f Force. Configure even if ip already set + config CMD_MIITOOL tristate depends on PHYLIB |