ramips: add initial support for SamKnows SK-WB8
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / init.d / bootcount
1 #!/bin/sh /etc/rc.common
2 . /lib/ramips.sh
3
4 START=99
5
6 start() {
7 local board=$(ramips_board_name)
8 if [ $board = "sk-wb8" ]; then
9 fw_setenv bootcount 0
10 fi
11 }