[PATCH 13/13] defaultenv: remove now unnecessary hush-hack

Sascha Hauer s.hauer at pengutronix.de
Mon Apr 30 07:19:28 EDT 2012


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 defaultenv/bin/hush_hack |    1 -
 defaultenv/bin/init      |    5 +----
 2 files changed, 1 insertion(+), 5 deletions(-)
 delete mode 100644 defaultenv/bin/hush_hack

diff --git a/defaultenv/bin/hush_hack b/defaultenv/bin/hush_hack
deleted file mode 100644
index 5fffa92..0000000
--- a/defaultenv/bin/hush_hack
+++ /dev/null
@@ -1 +0,0 @@
-nand -a /dev/nand0.*
diff --git a/defaultenv/bin/init b/defaultenv/bin/init
index 7452bb6..6e85a82 100644
--- a/defaultenv/bin/init
+++ b/defaultenv/bin/init
@@ -14,10 +14,7 @@ fi
 
 if [ -e /dev/nand0 -a -n "$nand_parts" ]; then
 	addpart /dev/nand0 $nand_parts
-
-	# Uh, oh, hush first expands wildcards and then starts executing
-	# commands. What a bug!
-	source /env/bin/hush_hack
+	nand -a /dev/nand0.*
 fi
 
 if [ -f /env/bin/init_board ]; then
-- 
1.7.10




More information about the barebox mailing list