diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-11-12 00:23:50 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-11-12 00:23:50 +0000 |
commit | 476a0ea4720365c4dc9d99187878321c0d63974a (patch) | |
tree | 240c9dd9a6ee55b6f10be8d14ec3eae5c982aa2a /openwrt/package/base-files/default | |
parent | 8ee989eabc681d21444209d657b04b53301fba7b (diff) |
hide stderr output of mtd in firstboot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2444 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/base-files/default')
-rwxr-xr-x | openwrt/package/base-files/default/bin/firstboot | 2 |
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 0828bdabe9..eff7063b1c 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 |