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

14 lines
170 B
Bash
Executable File

#!/bin/sh /etc/rc.common
# SPDX-License-Identifier: GPL-2.0-only
START=99
boot() {
case $(board_name) in
glinet,gl-ar300m-nand)
fw_setenv bootcount 0
;;
esac
}