openwrt/target/linux/ramips/base-files/etc/init.d/bootcount
Adrian Schmutzler 2f2a319f82 ramips/mt7621: Synchronize Makefiles with DTS compatible
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
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
}