X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/6b4f28c3798f491b29518b802ef1fad87211930c..95d102adb600efc5b10836c4782d8bf61a9a3375:/package/base-files/default/bin/firstboot diff --git a/package/base-files/default/bin/firstboot b/package/base-files/default/bin/firstboot index 0828bdabe..eff7063b1 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