2 # Copyright (C) 2010 OpenWrt.org
7 platform_check_image
() {
8 local board
=$
(board_name
)
9 local magic
="$(get_magic_word "$1")"
11 [ "$#" -gt 1 ] && return 1
14 kilauea | openrb | magicbox
)
15 [ "$magic" != "2705" ] && {
16 echo "Invalid image type."
23 echo "Sysupgrade is not yet supported on $board."
27 platform_do_upgrade
() {
28 local board
=$
(board_name
)
32 default_do_upgrade
"$ARGV"