X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/9c4caa1e7a14df7eed795618fbd4254a8b09ee4a..68ff71b07423f041c296893aeea2cc713b0cdd38:/openwrt/package/base-files/default/bin/firstboot diff --git a/openwrt/package/base-files/default/bin/firstboot b/openwrt/package/base-files/default/bin/firstboot index 0828bdabe..eff7063b1 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