mac80211: update to wireless-testing 2011-06-22
[openwrt.git] / package / base-files / files / lib / preinit / 40_mount_jffs2
index cb743ea..00f45a8 100644 (file)
@@ -3,8 +3,9 @@
 # Copyright (C) 2010 Vertical Communications
 
 find_mount_jffs2() {
 # Copyright (C) 2010 Vertical Communications
 
 find_mount_jffs2() {
-       mkdir -p /tmp/overlay
+    mkdir -p /tmp/overlay
     mount "$(find_mtd_part rootfs_data)" /tmp/overlay -t jffs2
     mount "$(find_mtd_part rootfs_data)" /tmp/overlay -t jffs2
+    mtd -qq unlock rootfs_data
 }
 
 jffs2_not_mounted() {
 }
 
 jffs2_not_mounted() {
This page took 0.024081 seconds and 4 git commands to generate.