projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ath79: add support for Linksys EA4500 v3
[openwrt/openwrt.git]
/
target
/
linux
/
ath79
/
nand
/
base-files
/
etc
/
init.d
/
bootcount
diff --git
a/target/linux/ath79/nand/base-files/etc/init.d/bootcount
b/target/linux/ath79/nand/base-files/etc/init.d/bootcount
index 87654ba095ed71f2bb5cc0fe687f7e7409860bb3..4d7a814f05a8c12469d162454b6b8c4ecd3b805f 100755
(executable)
--- a/
target/linux/ath79/nand/base-files/etc/init.d/bootcount
+++ b/
target/linux/ath79/nand/base-files/etc/init.d/bootcount
@@
-8,5
+8,9
@@
boot() {
glinet,gl-ar300m-nand)
fw_setenv bootcount 0
;;
+ linksys,ea4500-v3)
+ [ $(fw_printenv -n auto_recovery) = yes ] && \
+ fw_setenv auto_recovery no
+ ;;
esac
}