ar71xx: add user-space support for UniFi AP Pro
[openwrt/staging/chunkeey.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index 49b1de987687ef954cf635ccf4baf6b87d608ebe..e03286845f48b701bee6b6573d9c69fc808ff76a 100755 (executable)
@@ -190,6 +190,13 @@ platform_check_image() {
                        return 1
                }
 
+               return 0
+               ;;
+       uap-pro)
+               [ "$magic_long" != "19852003" ] && {
+                       echo "Invalid image type."
+                       return 1
+               }
                return 0
                ;;
        wndr3700)