aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/base-files/lib/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mediatek/base-files/lib/upgrade')
-rwxr-xr-xtarget/linux/mediatek/base-files/lib/upgrade/platform.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mediatek/base-files/lib/upgrade/platform.sh b/target/linux/mediatek/base-files/lib/upgrade/platform.sh
index d1b9fdeb95..9c99ee1c18 100755
--- a/target/linux/mediatek/base-files/lib/upgrade/platform.sh
+++ b/target/linux/mediatek/base-files/lib/upgrade/platform.sh
@@ -54,7 +54,7 @@ platform_check_image() {
platform_copy_config_emmc() {
mkdir -p /recovery
mount -o rw,noatime /dev/mmcblk0p1 /recovery
- cp -af "$CONF_TAR" "/recovery/$BACKUP_FILE"
+ cp -af "$UPGRADE_BACKUP" "/recovery/$BACKUP_FILE"
sync
umount /recovery
}