projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: add support for Linksys EA7300 v1
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
mt7621
/
base-files
/
etc
/
init.d
/
bootcount
diff --git
a/target/linux/ramips/mt7621/base-files/etc/init.d/bootcount
b/target/linux/ramips/mt7621/base-files/etc/init.d/bootcount
index e92912bbcc19e599a1555cdbd857cf29e992323f..b17161a50a588136c64be75bc4b0acb034ef8bd5 100755
(executable)
--- a/
target/linux/ramips/mt7621/base-files/etc/init.d/bootcount
+++ b/
target/linux/ramips/mt7621/base-files/etc/init.d/bootcount
@@
-8,6
+8,7
@@
boot() {
[ -n "$(fw_printenv bootcount bootchanged 2>/dev/null)" ] &&\
echo -e "bootcount\nbootchanged\n" | /usr/sbin/fw_setenv -s -
;;
+ linksys,ea7300-v1|\
linksys,ea7500-v2)
mtd resetbc s_env || true
;;