summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc/init.d/bootcount
blob: a9fdd666c37ae9736491d605cfca4c11b96bd610 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh /etc/rc.common

START=99

start() {
	. /lib/ramips.sh

	local board=$(ramips_board_name)
	if [ $board = "sk-wb8" ]; then
		fw_setenv bootcount 0
	fi
}