diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-04-10 17:36:07 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-04-11 08:54:09 +0200 |
commit | 32e630d182a5479e5da60906523b74a19cf5caab (patch) | |
tree | 01f0dd7f6a403ecedd37aefae0ed13f8c488d651 /defaultenv | |
parent | f8856d422ecdfe1609a8c2c78153ca68b4dae7a1 (diff) | |
download | barebox-32e630d182a5479e5da60906523b74a19cf5caab.tar.gz barebox-32e630d182a5479e5da60906523b74a19cf5caab.tar.xz |
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>
Diffstat (limited to 'defaultenv')
-rw-r--r-- | defaultenv/bin/_update | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/defaultenv/bin/_update b/defaultenv/bin/_update index e7cf1496e9..8e27ee10c6 100644 --- a/defaultenv/bin/_update +++ b/defaultenv/bin/_update @@ -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 |