[package] base-file: add metric option for static and dhcp protos, this simplifies...
[openwrt.git] / package / base-files / files / lib / preinit / 40_mount_jffs2
index 99fe262..d2f05b0 100644 (file)
@@ -3,7 +3,9 @@
 # Copyright (C) 2010 Vertical Communications
 
 find_mount_jffs2() {
-    mount "$(find_mtd_part rootfs_data)" /jffs -t jffs2
+       mkdir -p /tmp/overlay
+    mount "$(find_mtd_part rootfs_data)" /tmp/overlay -t jffs2
+    mtd -qq unlock rootfs_data
 }
 
 jffs2_not_mounted() {
This page took 0.030669 seconds and 4 git commands to generate.