ramips: move /lib/ramips.sh include in /etc/init.d/bootcount into start()
[openwrt/openwrt.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/ramips.sh
7
8 local board=$(ramips_board_name)
9 if [ $board = "sk-wb8" ]; then
10 fw_setenv bootcount 0
11 fi
12 }