aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-11-12 00:23:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-11-12 00:23:50 +0000
commit005a8a3b397cd23609fc72db3310aacebc010d96 (patch)
tree240c9dd9a6ee55b6f10be8d14ec3eae5c982aa2a
parent7a9b5e83fdf895674ff61fd6ec4947091e42e72b (diff)
downloadupstream-005a8a3b397cd23609fc72db3310aacebc010d96.tar.gz
upstream-005a8a3b397cd23609fc72db3310aacebc010d96.tar.bz2
upstream-005a8a3b397cd23609fc72db3310aacebc010d96.zip
hide stderr output of mtd in firstboot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2444 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xopenwrt/package/base-files/default/bin/firstboot2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/base-files/default/bin/firstboot b/openwrt/package/base-files/default/bin/firstboot
index 0828bdabe92..eff7063b1c1 100755
--- a/openwrt/package/base-files/default/bin/firstboot
+++ b/openwrt/package/base-files/default/bin/firstboot
@@ -17,7 +17,7 @@ jdev=$(mount | awk '/jffs2/ {print $3}')
if [ -z "$jdev" ]; then
echo -n "Creating jffs2 partition... "
- mtd erase OpenWrt >&-
+ mtd erase OpenWrt >&- 2>&-
mount -t jffs2 /dev/mtdblock/4 /jffs
echo "done"
cd /jffs