diff options
Diffstat (limited to 'target/linux/tegra')
-rw-r--r-- | target/linux/tegra/base-files/lib/preinit/79_move_config | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/tegra/base-files/lib/preinit/79_move_config b/target/linux/tegra/base-files/lib/preinit/79_move_config index 2a451a5efd..d17e734ac8 100644 --- a/target/linux/tegra/base-files/lib/preinit/79_move_config +++ b/target/linux/tegra/base-files/lib/preinit/79_move_config @@ -8,9 +8,9 @@ move_config() { if export_bootdevice && export_partdevice partdev 1; then mkdir -p /boot if mount -o ro,noatime "/dev/$partdev" /boot; then - if [ -f /boot/sysupgrade.tgz ]; then + if [ -f "/boot/$BACKUP_FILE" ]; then mount /boot -o remount,rw,noatime - mv -f /boot/sysupgrade.tgz / + mv -f "/boot/$BACKUP_FILE" / fi umount /boot rm -fR /boot |