X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9e7554db871433758f661e85f8ff95501b62d935..f0589f7290ba958bbefaf5394b155d37c72a185e:/package/base-files/files/lib/preinit/40_mount_jffs2 diff --git a/package/base-files/files/lib/preinit/40_mount_jffs2 b/package/base-files/files/lib/preinit/40_mount_jffs2 index cb743ea75..d2f05b02c 100644 --- a/package/base-files/files/lib/preinit/40_mount_jffs2 +++ b/package/base-files/files/lib/preinit/40_mount_jffs2 @@ -5,6 +5,7 @@ find_mount_jffs2() { mkdir -p /tmp/overlay mount "$(find_mtd_part rootfs_data)" /tmp/overlay -t jffs2 + mtd -qq unlock rootfs_data } jffs2_not_mounted() {