2 # Copyright (C) 2010 OpenWrt.org
8 RAMFS_COPY_DATA
=/lib
/ppc40x.sh
10 platform_check_image
() {
11 local board
=$
(ppc40x_board_name
)
12 local magic
="$(get_magic_word "$1")"
14 [ "$ARGC" -gt 1 ] && return 1
17 kilauea | openrb | magicbox
)
18 [ "$magic" != "2705" ] && {
19 echo "Invalid image type."
26 echo "Sysupgrade is not yet supported on $board."
30 platform_do_upgrade
() {
31 local board
=$
(ppc40x_board_name
)
35 default_do_upgrade
"$ARGV"