summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/preinit/40_mount_jffs2
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/lib/preinit/40_mount_jffs2')
-rw-r--r--package/base-files/files/lib/preinit/40_mount_jffs23
1 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/files/lib/preinit/40_mount_jffs2 b/package/base-files/files/lib/preinit/40_mount_jffs2
index 99fe262c6..cb743ea75 100644
--- a/package/base-files/files/lib/preinit/40_mount_jffs2
+++ b/package/base-files/files/lib/preinit/40_mount_jffs2
@@ -3,7 +3,8 @@
# 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
}
jffs2_not_mounted() {