ath79: Really fix 5GHz on QCA9886 variant of ZTE MF286
[openwrt/openwrt.git] / target / linux / qualcommax / ipq807x / base-files / etc / init.d / bootcount
1 #!/bin/sh /etc/rc.common
2
3 START=99
4
5 boot() {
6 case $(board_name) in
7 edgecore,eap102|\
8 yuncore,ax880)
9 fw_setenv upgrade_available 0
10 # Unset changed flag after sysupgrade complete
11 fw_setenv changed
12 ;;
13 linksys,mx4200v1|\
14 linksys,mx4200v2|\
15 linksys,mx5300|\
16 linksys,mx8500)
17 mtd resetbc s_env || true
18 ;;
19 esac
20 }