summaryrefslogtreecommitdiff
path: root/package/block-extroot/files/55_determine_extroot_sysupgrade
diff options
context:
space:
mode:
Diffstat (limited to 'package/block-extroot/files/55_determine_extroot_sysupgrade')
-rw-r--r--package/block-extroot/files/55_determine_extroot_sysupgrade6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/block-extroot/files/55_determine_extroot_sysupgrade b/package/block-extroot/files/55_determine_extroot_sysupgrade
index 5a6ad04f89..d458b63bb1 100644
--- a/package/block-extroot/files/55_determine_extroot_sysupgrade
+++ b/package/block-extroot/files/55_determine_extroot_sysupgrade
@@ -13,7 +13,7 @@ check_set_md5sum() {
er_extroot_md5sum="$(cat $er_md5sum_file)"
fi
- local er_overlay_file="/overlay/etc/extroot.md5sum"
+ local er_overlay_file="${ER_OVERLAY_ROM}/etc/extroot.md5sum"
local er_extroot_overlay_md5sum
if [ -f "$er_overlay_file" ]; then
@@ -24,8 +24,8 @@ check_set_md5sum() {
cat $er_md5sum_file >$er_overlay_file
elif [ "$er_extroot_overlay_md5sum" != "$er_extroot_md5sum" ]; then
pi_extroot_mount_success="false"
- mkdir -p /tmp/overlay-disabled
- mount --move /overlay /tmp/overlay-disabled
+ mkdir -p /tmp${ER_OVERLAY_ROM}-disabled
+ mount --move ${ER_OVERLAY_ROM} /tmp${ER_OVERLAY_ROM}-disabled
fi
}