aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin/firstboot
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-03-21 17:16:50 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-03-21 17:16:50 +0000
commit7af8ee04812f647ce74adbe04f0d5d18a39bbd29 (patch)
tree9a50a2973e0866572e2cf8394d65dba645ac3c08 /package/base-files/files/sbin/firstboot
parente7f046805af93c3af6d318907033cf0d803e4b34 (diff)
downloadupstream-7af8ee04812f647ce74adbe04f0d5d18a39bbd29.tar.gz
upstream-7af8ee04812f647ce74adbe04f0d5d18a39bbd29.tar.bz2
upstream-7af8ee04812f647ce74adbe04f0d5d18a39bbd29.zip
change from /jffs to /overlay, patch from Daniel Dickinson
SVN-Revision: 20356
Diffstat (limited to 'package/base-files/files/sbin/firstboot')
-rwxr-xr-xpackage/base-files/files/sbin/firstboot4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/files/sbin/firstboot b/package/base-files/files/sbin/firstboot
index e9994dec38..4da299189e 100755
--- a/package/base-files/files/sbin/firstboot
+++ b/package/base-files/files/sbin/firstboot
@@ -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