mirror of https://github.com/hak5/openwrt-owl.git
parent
646937135f
commit
9e435c03e0
|
@ -69,6 +69,13 @@ platform_check_image() {
|
||||||
[ "$ARGC" -gt 1 ] && return 1
|
[ "$ARGC" -gt 1 ] && return 1
|
||||||
|
|
||||||
case "$board" in
|
case "$board" in
|
||||||
|
ap121 | ap121-mini)
|
||||||
|
[ "$magic_long" != "68737173" ] && {
|
||||||
|
echo "Invalid image type."
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
ap81 | ap83 | dir-600-a1 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt400n | bullet-m | nanostation-m | rocket-m | wzr-hp-g300nh | wzr-hp-g301nh | nbg460n_550n_550nh | unifi )
|
ap81 | ap83 | dir-600-a1 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt400n | bullet-m | nanostation-m | rocket-m | wzr-hp-g300nh | wzr-hp-g301nh | nbg460n_550n_550nh | unifi )
|
||||||
[ "$magic" != "2705" ] && {
|
[ "$magic" != "2705" ] && {
|
||||||
echo "Invalid image type."
|
echo "Invalid image type."
|
||||||
|
|
Loading…
Reference in New Issue