diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-11-12 00:23:50 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-11-12 00:23:50 +0000 |
commit | e7ff3b5efaea88801710c945b257a4c9e512fb9c (patch) | |
tree | 84c931eb112e0fce545beeed3ac52bf588bd7c4b | |
parent | f096d8b785a3210932c0d9c71492a6af31fe73d1 (diff) | |
download | master-187ad058-e7ff3b5efaea88801710c945b257a4c9e512fb9c.tar.gz master-187ad058-e7ff3b5efaea88801710c945b257a4c9e512fb9c.tar.bz2 master-187ad058-e7ff3b5efaea88801710c945b257a4c9e512fb9c.zip |
hide stderr output of mtd in firstboot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2444 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | package/base-files/default/bin/firstboot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/default/bin/firstboot b/package/base-files/default/bin/firstboot index 0828bdabe9..eff7063b1c 100755 --- a/package/base-files/default/bin/firstboot +++ b/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 |