treewide: use new procd sysupgrade $UPGRADE_BACKUP variable
[openwrt/openwrt.git] / target / linux / sunxi / base-files / lib / upgrade / platform.sh
index a5108c4c02269dd38fc7f416f3766bc91c4025fc..10412c51765fbf31304e0bff3f09819bf067a2ea 100644 (file)
@@ -30,7 +30,7 @@ platform_copy_config() {
 
        if export_partdevice partdev 1; then
                mount -t vfat -o rw,noatime "/dev/$partdev" /mnt
-               cp -af "$CONF_TAR" "/mnt/$BACKUP_FILE"
+               cp -af "$UPGRADE_BACKUP" "/mnt/$BACKUP_FILE"
                umount /mnt
        fi
 }