aboutsummaryrefslogtreecommitdiffstats
path: root/package/block-extroot/files/50_determine_usb_root
diff options
context:
space:
mode:
authorDaniel Dickinson <daniel@cshore.neomailbox.net>2010-12-03 20:01:23 +0000
committerDaniel Dickinson <daniel@cshore.neomailbox.net>2010-12-03 20:01:23 +0000
commit52c4334c1173418c07996c49b80cf3fd06b50bde (patch)
tree19b741f8ab573440129f9c1632ccae4029608041 /package/block-extroot/files/50_determine_usb_root
parent593c917377f85a829b1b2f4015149c37b22df806 (diff)
downloadmaster-187ad058-52c4334c1173418c07996c49b80cf3fd06b50bde.tar.gz
master-187ad058-52c4334c1173418c07996c49b80cf3fd06b50bde.tar.bz2
master-187ad058-52c4334c1173418c07996c49b80cf3fd06b50bde.zip
[package] block-extroot: Added md5sum to extroot and underlying root filesystem. This is used to ensure that the extroot is not mounted as the rootfs after a sysupgrade *until the user deals with the extroot).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24230 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/block-extroot/files/50_determine_usb_root')
-rw-r--r--package/block-extroot/files/50_determine_usb_root1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/block-extroot/files/50_determine_usb_root b/package/block-extroot/files/50_determine_usb_root
index b899203e5d..e87855c2a7 100644
--- a/package/block-extroot/files/50_determine_usb_root
+++ b/package/block-extroot/files/50_determine_usb_root
@@ -18,6 +18,7 @@ determine_external_root() {
if [ "$jffs" = "/tmp/overlay" ] && [ -r "/tmp/overlay/etc/config/fstab" ]; then
UCI_CONFIG_DIR="/tmp/overlay/etc/config"
ER_IS_SQUASHFS=true
+ ER_OVERLAY_PREFIX="/tmp/overlay"
fi
# For squashfs on firstboot root_device will be tmpfs for the ramoverlay,