immortalwrt/target/linux/ath79/nand/base-files/etc/init.d/bootcount
2019-12-02 05:55:49 -08:00

14 lines
165 B
Bash
Executable File

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