Root/target/linux/brcm63xx/base-files/lib/upgrade/platform.sh

1PART_NAME=linux
2platform_check_image() {
3    [ "$ARGC" -gt 1 ] && return 1
4    case "$(get_magic_word "$1")" in
5        3600)
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
16# use default for platform_do_upgrade()
17

Archive Download this file



interactive