ipq806x: add Edgecore ECW5410 support
[openwrt/openwrt.git] / target / linux / ipq806x / 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,ecw5410)
8 fw_setenv bootcount 0
9 ;;
10 linksys,ea7500-v1 |\
11 linksys,ea8500)
12 mtd resetbc s_env || true
13 ;;
14 esac
15 }