9
0
Fork 0

defaultenv/update: fix dhcp-barebox support

call dhcp when ip mode is dhcp-barebox

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2012-04-10 17:36:07 +02:00 committed by Sascha Hauer
parent f8856d422e
commit 32e630d182
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ if [ ! -e "$part" ]; then
fi
if [ x$mode = xtftp -o x$mode = xnfs ]; then
if [ x$ip = xdhcp ]; then
if [ x$ip = xdhcp -o x$ip = "xdhcp-barebox" ]; then
dhcp
fi