Files
openwrt/target/linux/ramips/base-files/etc/init.d/bootcount
2019-07-10 17:36:29 +02:00

13 lines
171 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=99
start() {
. /lib/functions.sh
local board=$(board_name)
if [ $board = "samknows,whitebox-v8" ]; then
fw_setenv bootcount 0
fi
}