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

START=99

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