ath79: add support for Linksys EA4500 v3
[openwrt/openwrt.git] / target / linux / ath79 / nand / base-files / etc / init.d / bootcount
index 87654ba095ed71f2bb5cc0fe687f7e7409860bb3..4d7a814f05a8c12469d162454b6b8c4ecd3b805f 100755 (executable)
@@ -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
 }