mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-02 11:27:48 +00:00
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:
committed by
John Crispin
parent
d5feaf2d4b
commit
b8a4373e56
@@ -7,6 +7,7 @@ boot() {
|
|||||||
hfcl,ion4xi_w)
|
hfcl,ion4xi_w)
|
||||||
fw_setenv boot_count 0
|
fw_setenv boot_count 0
|
||||||
;;
|
;;
|
||||||
|
edgecore,oap101|\
|
||||||
edgecore,eap104)
|
edgecore,eap104)
|
||||||
avail=$(fw_printenv -n upgrade_available)
|
avail=$(fw_printenv -n upgrade_available)
|
||||||
[ "${avail}" -eq 0 ] && fw_setenv upgrade_available 1
|
[ "${avail}" -eq 0 ] && fw_setenv upgrade_available 1
|
||||||
|
|||||||
Reference in New Issue
Block a user