ipq40xx: only include ath10k-board-qca4019 for the generic subtarget
[openwrt/staging/chunkeey.git] / target / linux / ipq806x / base-files / etc / init.d / bootcount
1 #!/bin/sh /etc/rc.common
2
3 START=99
4
5 . "$IPKG_INSTROOT/lib/upgrade/asrock.sh"
6
7 boot() {
8 case $(board_name) in
9 asrock,g10)
10 asrock_bootconfig_mangle "bootcheck" && reboot
11 ;;
12 edgecore,ecw5410)
13 fw_setenv bootcount 0
14 ;;
15 linksys,ea7500-v1 |\
16 linksys,ea8500)
17 mtd resetbc s_env || true
18 ;;
19 esac
20 }