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

Sascha Hauer s.hauer at pengutronix.de
Thu Jan 20 03:47:52 EST 2011


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>
---
 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
 
-- 
1.7.2.3




More information about the barebox mailing list