mediatek: Enable dualboot for EAP111 and EAP112 by default

Fixes: WIFI-14579
Signed-off-by: Tanya Singh <tanya_singh@accton.com>
This commit is contained in:
Tanya Singh
2025-06-03 16:03:21 +08:00
committed by John Crispin
parent 0f6683f31e
commit 5314a752bd

View File

@@ -8,6 +8,9 @@ boot() {
edgecore,eap112)
bootcount=$(fw_printenv -n bootcount)
[ "$bootcount" != 0 ] && fw_setenv bootcount 0
# enable dualboot
avail=$(fw_printenv -n upgrade_available)
[ ${avail} -eq 0 ] && fw_setenv upgrade_available 1
;;
esac
}