projects
/
openwrt
/
staging
/
zorun.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ipq806x: base-files: asrock: fix bootcount include
[openwrt/staging/zorun.git]
/
target
/
linux
/
ipq806x
/
base-files
/
etc
/
init.d
/
bootcount
1
#!/bin/sh /etc/rc.common
2
3
START
=
99
4
5
.
"
$IPKG_INSTROOT
/lib/upgrade/asrock.sh"
6
7
boot
() {
8
case
$
(
board_name
)
in
9
asrock
,
g10
)
10
asrock_bootconfig_mangle
"bootcheck"
&&
reboot
11
;;
12
edgecore
,
ecw5410
)
13
fw_setenv bootcount
0
14
;;
15
linksys
,
ea7500-v1 |\
16
linksys
,
ea8500
)
17
mtd resetbc s_env || true
18
;;
19
esac
20
}