2009-05-17 16:53:57 +00:00
|
|
|
PART_NAME=linux
|
|
|
|
platform_check_image() {
|
2014-06-02 12:43:22 +00:00
|
|
|
[ "$#" -gt 1 ] && return 1
|
2009-05-17 16:53:57 +00:00
|
|
|
case "$(get_magic_word "$1")" in
|
2013-02-21 11:45:41 +00:00
|
|
|
3600|3700|3800)
|
2009-05-17 16:53:57 +00:00
|
|
|
# 6348GW-11 boards use openwrt-96348GW-11-squashfs-cfe.bin files
|
|
|
|
return 0
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "Invalid image type. Please use only .bin files"
|
|
|
|
return 1
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
}
|
|
|
|
|
|
|
|
# use default for platform_do_upgrade()
|