openwrtv3/target/linux/ramips/base-files/etc/init.d/bootcount
Andrew Yong 374cae9e6f ramips: add initial support for SamKnows SK-WB8
Signed-off-by: Andrew Yong <me@ndoo.sg>
2016-05-12 03:29:35 +02:00

11 lines
159 B
Bash
Executable file

#!/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
}