ar71xx: fix sysupgrade for compex-wpj344
[openwrt.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index 4353efd..b3c61ef 100755 (executable)
@@ -224,9 +224,11 @@ platform_check_image() {
        loco-m-xw | \
        nanostation-m | \
        rocket-m | \
+       rocket-m-xw | \
        nanostation-m-xw | \
        rw2458n | \
        wndap360 | \
+       wpj344 | \
        wzr-hp-g300nh2 | \
        wzr-hp-g300nh | \
        wzr-hp-g450h | \
@@ -288,7 +290,8 @@ platform_check_image() {
        om2p-hs | \
        om2p-hsv2 | \
        om2p-lc | \
-       om5p)
+       om5p | \
+       om5p-an)
                platform_check_image_openmesh "$magic_long" "$1" && return 0
                return 1
                ;;
@@ -488,7 +491,8 @@ platform_do_upgrade() {
        om2p-hs | \
        om2p-hsv2 | \
        om2p-lc | \
-       om5p)
+       om5p | \
+       om5p-an)
                platform_do_upgrade_openmesh "$ARGV"
                ;;
        unifi-outdoor-plus | \