change from /jffs to /overlay, patch from Daniel Dickinson
[openwrt/svn-archive/archive.git] / package / base-files / files / lib / firstboot / 20_no_fo_mount_jffs
index da914b143fc56f400860e5f3487ca40e01d16c6b..8a1d4e06d230635fa4e935d299c6cfb57627c440 100644 (file)
@@ -5,11 +5,11 @@
 
 no_fo_mount_jffs() {
     # initialize jffs2
-    mount "$mtdpart" /jffs -t jffs2 || exit
+    mount "$mtdpart" /overlay -t jffs2 || exit
     
     # workaround to ensure that union can attach properly
     sync
-    ls /jffs >/dev/null
+    ls /overlay >/dev/null
 }
 
 boot_hook_add no_fo no_fo_mount_jffs