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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


call dhcp when ip mode is dhcp-barebox

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx>
---
 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


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux