projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipq806x: add Edgecore ECW5410 support
[openwrt/openwrt.git]
/
target
/
linux
/
ipq806x
/
base-files
/
etc
/
init.d
/
bootcount
diff --git
a/target/linux/ipq806x/base-files/etc/init.d/bootcount
b/target/linux/ipq806x/base-files/etc/init.d/bootcount
index d0bf708e66a98fead97a1ffc949d3c4debd4f43c..77965e647bb94cb6b1972c47d393ed2e17109435 100755
(executable)
--- a/
target/linux/ipq806x/base-files/etc/init.d/bootcount
+++ b/
target/linux/ipq806x/base-files/etc/init.d/bootcount
@@
-4,6
+4,10
@@
START=99
boot() {
case $(board_name) in
+ edgecore,ecw5410)
+ fw_setenv bootcount 0
+ ;;
+ linksys,ea7500-v1 |\
linksys,ea8500)
mtd resetbc s_env || true
;;