change from /jffs to /overlay, patch from Daniel Dickinson
[openwrt.git] / package / base-files / files / sbin / firstboot
index e9994de..4da2991 100755 (executable)
@@ -27,8 +27,8 @@ if [ "${0##*/}" = "firstboot" ]; then
        boot_run_hook jffs2reset
     else
        mtd erase "$partname"
-       mount "$mtdpart" /jffs -t jffs2
-       fopivot /jffs /rom 1
+       mount "$mtdpart" /overlay -t jffs2
+       fopivot /overlay /rom 1
     fi
 fi