ath79: GL-AR300M: provide NAND support; increase to 4 MB kernel
[openwrt/openwrt.git] / target / linux / ath79 / nand / base-files / etc / init.d / bootcount
1 #!/bin/sh /etc/rc.common
2
3 # SPDX-License-Identifier: GPL-2.0
4
5 START=99
6
7 boot() {
8 case $(board_name) in
9 glinet,gl-ar300m-nand)
10 fw_setenv bootcount 0
11 ;;
12 esac
13 }