Initial commit
This commit is contained in:
12
target/linux/ath79/nand/base-files/etc/init.d/bootcount
Executable file
12
target/linux/ath79/nand/base-files/etc/init.d/bootcount
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/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
|
||||
}
|
||||
Reference in New Issue
Block a user