bootcount 343 B

12345678910111213141516171819
  1. #!/bin/sh /etc/rc.common
  2. START=99
  3. boot() {
  4. case $(board_name) in
  5. adtran,bsap1800-v2|\
  6. adtran,bsap1840)
  7. fconfig -s -w -d $(find_mtd_part "RedBoot config") -n boot_cntb -x 0
  8. ;;
  9. moxa,awk-1137c)
  10. fw_setenv fwr_verify 0
  11. ;;
  12. qihoo,c301)
  13. local n=$(fw_printenv activeregion | cut -d = -f 2)
  14. fw_setenv "image${n}trynum" 0
  15. ;;
  16. esac
  17. }