projects
/
openwrt
/
staging
/
zorun.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ipq806x: add support for ASRock G10
[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
.
/
lib
/
upgrade
/
asrock.sh
6
7
boot
() {
8
case
$
(
board_name
)
in
9
asrock
,
g10
)
10
asrock_bootconfig_mangle
"bootcheck"
11
if
[
$?
-eq
0
];
then
12
reboot
13
fi
14
;;
15
edgecore
,
ecw5410
)
16
fw_setenv bootcount
0
17
;;
18
linksys
,
ea7500-v1 |\
19
linksys
,
ea8500
)
20
mtd resetbc s_env || true
21
;;
22
esac
23
}