aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/mt7622
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-03-07 18:15:50 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-03-07 18:27:12 +0000
commit7e7218d1331d0b557b0e9a513aef5de584b6b1d2 (patch)
tree27613965b245da51433fab7be75ae3a42cbee3e3 /target/linux/mediatek/mt7622
parentc6652a7c9431d2ffc1a78c4be95ce047adcef3cb (diff)
downloadupstream-7e7218d1331d0b557b0e9a513aef5de584b6b1d2.tar.gz
upstream-7e7218d1331d0b557b0e9a513aef5de584b6b1d2.tar.bz2
upstream-7e7218d1331d0b557b0e9a513aef5de584b6b1d2.zip
mediatek: remove no longer needed sysupgrade hack
Keeping configuration is now handled in fstools like for other types of flash as well. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/mediatek/mt7622')
-rw-r--r--target/linux/mediatek/mt7622/base-files/lib/preinit/79_move_config18
1 files changed, 0 insertions, 18 deletions
diff --git a/target/linux/mediatek/mt7622/base-files/lib/preinit/79_move_config b/target/linux/mediatek/mt7622/base-files/lib/preinit/79_move_config
deleted file mode 100644
index 8a30b84497..0000000000
--- a/target/linux/mediatek/mt7622/base-files/lib/preinit/79_move_config
+++ /dev/null
@@ -1,18 +0,0 @@
-. /lib/upgrade/common.sh
-
-RECOVERY_PART=/dev/mmcblk0p6
-
-move_config() {
- if [ -b $RECOVERY_PART ]; then
- insmod nls_cp437
- insmod nls_iso8859-1
- insmod fat
- insmod vfat
- mkdir -p /recovery
- mount -o rw,noatime $RECOVERY_PART /recovery
- [ -f "/recovery/$BACKUP_FILE" ] && mv -f "/recovery/$BACKUP_FILE" /
- umount /recovery
- fi
-}
-
-boot_hook_add preinit_mount_root move_config