summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle2024-04-20 01:59:31 +0000
committerDaniel Golle2024-05-24 17:34:13 +0000
commitc82e106313fe7855381496e73dee2d189971d576 (patch)
tree6530cc6c8df6e16c1d20b6ca8ec11bc8b4b4f508
parentcccf98c7e8b37ef7f78f51df6210efe1483a514b (diff)
downloadopenwrt-c82e106313fe7855381496e73dee2d189971d576.tar.gz
mediatek: fix sysupgrade config backup on Adtran SmartRG devices
Add missing call to emmc_copy_config which either writes the sysupgrade tar.gz backup file or clears the existing rootfs_data overlay. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rwxr-xr-xtarget/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh b/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh
index 9b46111d33..5ccebb2565 100755
--- a/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh
+++ b/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh
@@ -241,6 +241,10 @@ platform_copy_config() {
glinet,gl-x3000|\
glinet,gl-xe3000|\
jdcloud,re-cp-03|\
+ smartrg,sdg-8612|\
+ smartrg,sdg-8614|\
+ smartrg,sdg-8622|\
+ smartrg,sdg-8632|\
ubnt,unifi-6-plus)
emmc_copy_config
;;