9
0
Fork 0

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>
This commit is contained in:
Marc Kleine-Budde 2011-09-25 22:54:06 +02:00 committed by Sascha Hauer
parent 3d7b2edb0c
commit bd6d6adfc0
1 changed files with 1 additions and 1 deletions

View File

@ -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