aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files/etc/init.d/bootcount
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ipq806x/base-files/etc/init.d/bootcount')
-rwxr-xr-xtarget/linux/ipq806x/base-files/etc/init.d/bootcount3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ipq806x/base-files/etc/init.d/bootcount b/target/linux/ipq806x/base-files/etc/init.d/bootcount
index 6e57c72e51..77965e647b 100755
--- a/target/linux/ipq806x/base-files/etc/init.d/bootcount
+++ b/target/linux/ipq806x/base-files/etc/init.d/bootcount
@@ -4,6 +4,9 @@ START=99
boot() {
case $(board_name) in
+ edgecore,ecw5410)
+ fw_setenv bootcount 0
+ ;;
linksys,ea7500-v1 |\
linksys,ea8500)
mtd resetbc s_env || true