ar71xx: add support for the UniFi AP Outdoor Plus
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index d373699fce628587aaa12613482e4e0a9858e00b..391299f38ae521dda7de69333eaea0e2cb737822 100755 (executable)
@@ -369,6 +369,7 @@ platform_check_image() {
                return 1
                ;;
 
+       unifi-outdoor-plus | \
        uap-pro)
                [ "$magic_long" != "19852003" ] && {
                        echo "Invalid image type."
@@ -484,6 +485,7 @@ platform_do_upgrade() {
        om5p)
                platform_do_upgrade_openmesh "$ARGV"
                ;;
+       unifi-outdoor-plus | \
        uap-pro)
                MTD_CONFIG_ARGS="-s 0x180000"
                default_do_upgrade "$ARGV"