mvebu: Add basic support for WRT1900AC (v1) and Turris Omnia (pre 2019)
[librecmc/librecmc.git] / target / linux / mvebu / base-files / etc / init.d / bootcount
1 #!/bin/sh /etc/rc.common
2
3 START=99
4
5 start() {
6         . /lib/functions.sh
7
8         case $(board_name) in
9         linksys,caiman |\
10         linksys,cobra |\
11         linksys,mamba |\
12         linksys,rango |\
13         linksys,shelby |\
14         linksys,venom)
15                 mtd resetbc s_env || true
16                 ;;
17         esac
18 }