aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/base-files/lib/upgrade/sdcard.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mvebu/base-files/lib/upgrade/sdcard.sh')
-rw-r--r--target/linux/mvebu/base-files/lib/upgrade/sdcard.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mvebu/base-files/lib/upgrade/sdcard.sh b/target/linux/mvebu/base-files/lib/upgrade/sdcard.sh
index 03f6327657..184803a50f 100644
--- a/target/linux/mvebu/base-files/lib/upgrade/sdcard.sh
+++ b/target/linux/mvebu/base-files/lib/upgrade/sdcard.sh
@@ -106,7 +106,7 @@ platform_copy_config_sdcard() {
if export_partdevice partdev 1; then
mkdir -p /boot
[ -f /boot/kernel.img ] || mount -o rw,noatime /dev/$partdev /boot
- cp -af "$CONF_TAR" "/boot/$BACKUP_FILE"
+ cp -af "$UPGRADE_BACKUP" "/boot/$BACKUP_FILE"
sync
umount /boot
fi