Files
openwrt-18.06/target/linux/ramips/base-files/etc/init.d/bootcount
2025-06-24 15:51:28 +02:00

13 lines
157 B
Bash
Executable File

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