diff options
Diffstat (limited to 'target/linux/mvebu/base-files')
-rw-r--r-- | target/linux/mvebu/base-files/lib/upgrade/linksys.sh | 2 | ||||
-rw-r--r-- | target/linux/mvebu/base-files/lib/upgrade/sdcard.sh | 2 | ||||
-rw-r--r-- | target/linux/mvebu/base-files/lib/upgrade/uDPU.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/mvebu/base-files/lib/upgrade/linksys.sh b/target/linux/mvebu/base-files/lib/upgrade/linksys.sh index 857c550c73..5104db31f3 100644 --- a/target/linux/mvebu/base-files/lib/upgrade/linksys.sh +++ b/target/linux/mvebu/base-files/lib/upgrade/linksys.sh @@ -93,6 +93,6 @@ platform_do_upgrade_linksys() { } platform_copy_config_linksys() { - cp -f "$CONF_TAR" /tmp/syscfg/ + cp -f "$CONF_TAR" "/tmp/syscfg/$BACKUP_FILE" sync } diff --git a/target/linux/mvebu/base-files/lib/upgrade/sdcard.sh b/target/linux/mvebu/base-files/lib/upgrade/sdcard.sh index 3bfdce97e8..03f6327657 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/ + cp -af "$CONF_TAR" "/boot/$BACKUP_FILE" sync umount /boot fi diff --git a/target/linux/mvebu/base-files/lib/upgrade/uDPU.sh b/target/linux/mvebu/base-files/lib/upgrade/uDPU.sh index f87ff4f9ca..dbcff58368 100644 --- a/target/linux/mvebu/base-files/lib/upgrade/uDPU.sh +++ b/target/linux/mvebu/base-files/lib/upgrade/uDPU.sh @@ -150,7 +150,7 @@ platform_do_upgrade_uDPU() { platform_copy_config_uDPU() { # Config is saved on the /misc partition and copied on the rootfs after the reboot if [ -f "$CONF_TAR" ]; then - cp -f "$CONF_TAR" /misc + cp -f "$CONF_TAR" "/misc/$BACKUP_FILE" sync fi } |