projects
/
openwrt
/
staging
/
chunkeey.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
treewide: sync bootcount scripts across targets
[openwrt/staging/chunkeey.git]
/
target
/
linux
/
ath79
/
base-files
/
etc
/
init.d
/
bootcount
1
#!/bin/sh /etc/rc.common
2
3
START
=
99
4
5
boot
() {
6
case
$
(
board_name
)
in
7
qihoo
,
c301
)
8
local
n
=
$
(
fw_printenv activeregion | cut
-d
=
-f
2
)
9
fw_setenv
"image
${n}
trynum"
0
10
;;
11
esac
12
}