projects
/
openwrt
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
mac80211: remove mtd-cal-data
[openwrt/openwrt.git]
/
target
/
linux
/
ath79
/
nand
/
base-files
/
etc
/
init.d
/
bootcount
1
#!/bin/sh /etc/rc.common
2
# SPDX-License-Identifier: GPL-2.0-only
3
4
START
=
99
5
6
boot
() {
7
case
$
(
board_name
)
in
8
glinet
,
gl-ar300m-nand
)
9
fw_setenv bootcount
0
10
;;
11
linksys
,
ea4500-v3
)
12
[
$
(
fw_printenv
-n
auto_recovery
) =
yes
] &&
\
13
fw_setenv auto_recovery no
14
;;
15
esac
16
}