mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
ipq807x: improve dual boot on eap101/2
inverse the logic that figures out if we want to set upgrade_available. Fixes: WIFI-7712 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -11,7 +11,7 @@ boot() {
|
||||
edgecore,eap101|\
|
||||
edgecore,eap102)
|
||||
avail=$(fw_printenv -n upgrade_available)
|
||||
[ ${avail} -eq 0 ] && fw_setenv upgrade_available 1
|
||||
[ "${avail}" -eq 1 ] || fw_setenv upgrade_available 1
|
||||
fw_setenv bootcount 0
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user