treewide: sync bootcount scripts across targets
[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 linksys,ea8500)
8 mtd resetbc s_env || true
9 ;;
10 esac
11 }