bootcount 296 B

12345678910111213141516
  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. qihoo,c301)
  10. local n=$(fw_printenv activeregion | cut -d = -f 2)
  11. fw_setenv "image${n}trynum" 0
  12. ;;
  13. esac
  14. }