These device supports were introduced before /etc/init.d/bootcount and they
had a bootcount reset done in /etc/board.d/02_network.
Move it into /etc/init.d/bootcount instead.
Suggested-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
case "$board" in
adtran,bsap1800-v2|\
adtran,bsap1840)
- fconfig -s -w -d $(find_mtd_part "RedBoot config") -n boot_cntb -x 0
lan_mac=$(mtd_get_mac_binary "Board data" 2)
;;
avm,fritz300e)
boot() {
case $(board_name) in
+ adtran,bsap1800-v2|\
+ adtran,bsap1840)
+ fconfig -s -w -d $(find_mtd_part "RedBoot config") -n boot_cntb -x 0
+ ;;
qihoo,c301)
local n=$(fw_printenv activeregion | cut -d = -f 2)
fw_setenv "image${n}trynum" 0