platform.sh 296 B

12345678910111213141516
  1. PART_NAME=linux
  2. platform_check_image() {
  3. [ "$ARGC" -gt 1 ] && return 1
  4. case "$(get_magic_word "$1")" in
  5. # rdc .bin files for ar360w3g
  6. 474d) return 0;;
  7. *)
  8. echo "Invalid image type. Please use an appropriate .bin file"
  9. return 1
  10. ;;
  11. esac
  12. }
  13. # use default for platform_do_upgrade()