diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-02-28 08:39:27 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-03-07 07:41:36 +0100 |
commit | a162dfe50345d3461010759f8a0e79f7e388c140 (patch) | |
tree | d39aa64b4835fbf3af9a7466c3ec21839c841b24 /net/Kconfig | |
parent | 72dfc499c8ae272614d5b572b86b776e70778bbd (diff) | |
download | barebox-a162dfe50345d3461010759f8a0e79f7e388c140.tar.gz barebox-a162dfe50345d3461010759f8a0e79f7e388c140.tar.xz |
net: Add ifup support
The defaultenv-2 has ifup support as a shell script. This patch
replaces it with a command which is more robust, can be called
from C and now can also bring up all configured interfaces.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'net/Kconfig')
-rw-r--r-- | net/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig index c12193db5c..59b64175de 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -26,4 +26,15 @@ config NET_RESOLV bool prompt "dns support" +config NET_IFUP + default y + bool + +config NET_CMD_IFUP + bool + prompt "ifup support" + help + This enables the 'ifup' command which is used to bring up network + interfaces based on config files under /env/network/<ethname> + endif |