aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-07-24 15:47:15 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-07-24 15:47:15 +0000
commit2f4e4586d2917c2245517e528396972af6d9a12e (patch)
tree93af111863badb152aba22434fe28a43949204de /package/base-files/files/lib
parent23d200d6f26f3b42dc6b0852c72022319c42ee8b (diff)
downloadmaster-187ad058-2f4e4586d2917c2245517e528396972af6d9a12e.tar.gz
master-187ad058-2f4e4586d2917c2245517e528396972af6d9a12e.tar.bz2
master-187ad058-2f4e4586d2917c2245517e528396972af6d9a12e.zip
[package] base-files: unconditionally unlock the rootfs_data partition (#7437)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22377 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/lib')
-rw-r--r--package/base-files/files/lib/preinit/40_mount_jffs21
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/lib/preinit/40_mount_jffs2 b/package/base-files/files/lib/preinit/40_mount_jffs2
index cb743ea75c..d2f05b02ce 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() {