summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-02-28 08:39:27 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-03-07 07:41:36 +0100
commita162dfe50345d3461010759f8a0e79f7e388c140 (patch)
treed39aa64b4835fbf3af9a7466c3ec21839c841b24 /common
parent72dfc499c8ae272614d5b572b86b776e70778bbd (diff)
downloadbarebox-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 'common')
-rw-r--r--common/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 8af7ec1a8d..2e91cd7a6c 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -582,6 +582,7 @@ config DEFAULT_ENVIRONMENT_GENERIC_NEW
select CMD_DIRNAME
select FLEXIBLE_BOOTARGS
select CMD_BOOT
+ select NET_CMD_IFUP if NET
prompt "Generic environment template"
config DEFAULT_ENVIRONMENT_GENERIC