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
umount /rom/proc
umount /rom/tmp
umount /rom/dev
+
+# normally created by boot script
+mkdir -p /var/run