summaryrefslogtreecommitdiffstats
path: root/defaultenv
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-04-10 17:36:07 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-04-11 08:54:09 +0200
commit32e630d182a5479e5da60906523b74a19cf5caab (patch)
tree01f0dd7f6a403ecedd37aefae0ed13f8c488d651 /defaultenv
parentf8856d422ecdfe1609a8c2c78153ca68b4dae7a1 (diff)
downloadbarebox-32e630d182a5479e5da60906523b74a19cf5caab.tar.gz
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/_update2
1 files changed, 1 insertions, 1 deletions
diff --git a/defaultenv/bin/_update b/defaultenv/bin/_update
index e7cf149..8e27ee1 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