[PATCH 2/2] defaultenv: do not print usage information for update script

Eric Bénard eric at eukrea.com
Thu Jan 20 03:57:49 EST 2011


On 20/01/2011 09:47, Sascha Hauer wrote:
> This usage printout during startup more looks like there is
> something wrong with the environment than a helpful message.
>
> Signed-off-by: Sascha Hauer<s.hauer at pengutronix.de>
> Cc: Jean-Christophe PLAGNIOL-VILLARD<plagnioj at jcrosoft.com>
Acked-by: Eric Bénard <eric at eukrea.com>
> ---
>   defaultenv/bin/init |    3 ---
>   1 files changed, 0 insertions(+), 3 deletions(-)
>
> diff --git a/defaultenv/bin/init b/defaultenv/bin/init
> index 877b541..b66f7d9 100644
> --- a/defaultenv/bin/init
> +++ b/defaultenv/bin/init
> @@ -28,9 +28,6 @@ echo
>   echo -n "Hit any key to stop autoboot: "
>   timeout -a $autoboot_timeout
>   if [ $? != 0 ]; then
> -	echo
> -	update -h
> -	echo
>   	exit
>   fi
>




More information about the barebox mailing list