summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-04-30 13:03:20 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-04-30 13:08:55 +0200
commitc3822d7aafb636b6b8265e5dee5bebfcae3ab7cf (patch)
tree9491f1cd822ee2863d6821cede72a42f04eac38f
parente21a340e396bd61dc07e3d18910498b50045c9e8 (diff)
downloadbarebox-c3822d7aafb636b6b8265e5dee5bebfcae3ab7cf.tar.gz
defaultenv: remove now unnecessary hush-hack
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--defaultenv/bin/hush_hack1
-rw-r--r--defaultenv/bin/init5
2 files changed, 1 insertions, 5 deletions
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