ipq807x: edgecore_oap101: Update upgrade_available correctly in the bootcount init.d script

Signed-off-by: Venkat Chimata <venkata@shasta.cloud>
This commit is contained in:
Venkat Chimata
2024-08-09 15:19:17 +05:30
committed by John Crispin
parent d5feaf2d4b
commit b8a4373e56

View File

@@ -7,6 +7,7 @@ boot() {
hfcl,ion4xi_w)
fw_setenv boot_count 0
;;
edgecore,oap101|\
edgecore,eap104)
avail=$(fw_printenv -n upgrade_available)
[ "${avail}" -eq 0 ] && fw_setenv upgrade_available 1