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

Sascha Hauer s.hauer at pengutronix.de
Wed Apr 11 02:54:21 EDT 2012


On Tue, Apr 10, 2012 at 05:36:07PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> call dhcp when ip mode is dhcp-barebox
> 
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>

Applied, thanks.

Sascha

> ---
>  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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list