[PATCH 3/3] defaultenv: add support of oftree file pass via dhcp (option 224)
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Sun Apr 8 05:27:22 EDT 2012
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
defaultenv/bin/boot | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/defaultenv/bin/boot b/defaultenv/bin/boot
index 5186aee..b54ea6b 100644
--- a/defaultenv/bin/boot
+++ b/defaultenv/bin/boot
@@ -50,6 +50,9 @@ if [ x$ip = xdhcp -o x$ip = "xdhcp-barebox" ]; then
if [ x$bootfile != x ]; then
kernelimage=$bootfile
fi
+ if [ x$dhcp_oftree_file != x ]; then
+ oftreeimage=$dhcp_oftree_file
+ fi
fi
fi
--
1.7.9.1
More information about the barebox
mailing list