treewide: use the generic board_name function
[openwrt/staging/mkresin.git] / target / linux / ramips / 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 local board=$(board_name)
9 if [ $board = "sk-wb8" ]; then
10 fw_setenv bootcount 0
11 fi
12 }