aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/base-files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/sunxi/base-files/lib')
-rw-r--r--target/linux/sunxi/base-files/lib/upgrade/platform.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/sunxi/base-files/lib/upgrade/platform.sh b/target/linux/sunxi/base-files/lib/upgrade/platform.sh
index c8b0175fd5..a5108c4c02 100644
--- a/target/linux/sunxi/base-files/lib/upgrade/platform.sh
+++ b/target/linux/sunxi/base-files/lib/upgrade/platform.sh
@@ -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/
+ cp -af "$CONF_TAR" "/mnt/$BACKUP_FILE"
umount /mnt
fi
}