summaryrefslogtreecommitdiffstats
path: root/defaultenv
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2011-09-25 22:54:06 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-09-26 13:22:25 +0200
commitbd6d6adfc0ad7792e0be57b296ed21d6cc6bb45a (patch)
treea372fa2d178c7e83174db69b19a937a5eb683034 /defaultenv
parent3d7b2edb0c9655cfbc3ea4c2a94011b1942de185 (diff)
downloadbarebox-bd6d6adfc0ad7792e0be57b296ed21d6cc6bb45a.tar.gz
barebox-bd6d6adfc0ad7792e0be57b296ed21d6cc6bb45a.tar.xz
defaultenv: boot: add eth0 to ip configuration
When passing a fixed IP to the kernel set it explicit to eth0. Otherwise on systems with more than one interface dhcp might be used. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'defaultenv')
-rw-r--r--defaultenv/bin/boot2
1 files changed, 1 insertions, 1 deletions
diff --git a/defaultenv/bin/boot b/defaultenv/bin/boot
index 6649c57a1..351496179 100644
--- a/defaultenv/bin/boot
+++ b/defaultenv/bin/boot
@@ -25,7 +25,7 @@ if [ x$ip = xdhcp ]; then
elif [ x$ip = xnone ]; then
bootargs="$bootargs ip=none"
else
- bootargs="$bootargs ip=$eth0.ipaddr::$eth0.gateway:$eth0.netmask:::"
+ bootargs="$bootargs ip=$eth0.ipaddr::$eth0.gateway:$eth0.netmask::eth0:"
fi