[PATCH 1/1] defaultenv/update: fix dhcp-barebox support

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Apr 10 11:36:07 EDT 2012


call dhcp when ip mode is dhcp-barebox

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 defaultenv/bin/_update |    2 +-
 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
 
-- 
1.7.9.1




More information about the barebox mailing list