From 1ffc13cf3c43eb33a4777e92482d26c426d8425d Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 8 Apr 2012 11:27:22 +0200 Subject: [PATCH] defaultenv: add support of oftree file pass via dhcp (option 224) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Sascha Hauer --- defaultenv/bin/boot | 3 +++ 1 file changed, 3 insertions(+) diff --git a/defaultenv/bin/boot b/defaultenv/bin/boot index 5186aeecc..b54ea6b71 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