aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/nand/base-files/etc/init.d/bootcount
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/nand/base-files/etc/init.d/bootcount')
-rwxr-xr-xtarget/linux/ath79/nand/base-files/etc/init.d/bootcount4
1 files changed, 4 insertions, 0 deletions
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 87654ba095..4d7a814f05 100755
--- 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
}