platform.sh 336 B

12345678910111213141516
  1. PART_NAME=linux
  2. platform_check_image() {
  3. [ "$#" -gt 1 ] && return 1
  4. case "$(get_magic_word "$1")" in
  5. 3600|3700|3800)
  6. # 6348GW-11 boards use openwrt-96348GW-11-squashfs-cfe.bin files
  7. return 0
  8. ;;
  9. *)
  10. echo "Invalid image type. Please use only .bin files"
  11. return 1
  12. ;;
  13. esac
  14. }
  15. # use default for platform_do_upgrade()