ipq806x: add Edgecore ECW5410 support
[openwrt/openwrt.git] / target / linux / ipq806x / base-files / etc / init.d / bootcount
index d0bf708e66a98fead97a1ffc949d3c4debd4f43c..77965e647bb94cb6b1972c47d393ed2e17109435 100755 (executable)
@@ -4,6 +4,10 @@ START=99
 
 boot() {
        case $(board_name) in
+       edgecore,ecw5410)
+               fw_setenv bootcount 0
+               ;;
+       linksys,ea7500-v1 |\
        linksys,ea8500)
                mtd resetbc s_env || true
                ;;