change from /jffs to /overlay, patch from Daniel Dickinson
[openwrt/svn-archive/archive.git] / package / base-files / files / sbin / firstboot
index e9994dec3856eada1d742f946d5a9b77ba84c4d3..4da299189e7da7bb9fe5a9eaf3bc3e11601c40f8 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