6e4a7df80fd5edf1cc09697eddb75bcdc48983c5
[openwrt.git] / target / linux / rdc / base-files / lib / upgrade / platform.sh
1 PART_NAME=linux
2
3 platform_check_image() {
4 [ "$ARGC" -gt 1 ] && return 1
5
6 case "$(get_magic_word "$1")" in
7 # rdc .bin files for ar360w3g
8 474d) return 0;;
9 *)
10 echo "Invalid image type. Please use an appropriate .bin file"
11 return 1
12 ;;
13 esac
14 }
15
16 # use default for platform_do_upgrade()
This page took 0.040535 seconds and 3 git commands to generate.