openwrt/target/linux/ramips/base-files/etc/init.d/bootcount

12 lines
159 B
Plaintext
Raw Normal View History

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