X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9e7554db871433758f661e85f8ff95501b62d935..a46cfc6bccf2343230f701e86fa88be1404ca1ce:/package/base-files/files/lib/preinit/40_mount_jffs2?ds=sidebyside diff --git a/package/base-files/files/lib/preinit/40_mount_jffs2 b/package/base-files/files/lib/preinit/40_mount_jffs2 index cb743ea75..00f45a890 100644 --- a/package/base-files/files/lib/preinit/40_mount_jffs2 +++ b/package/base-files/files/lib/preinit/40_mount_jffs2 @@ -3,8 +3,9 @@ # 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 + mtd -qq unlock rootfs_data } jffs2_not_mounted() {