ar71xx: enable sysupgrade for the OpenMesh A40
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / lib / upgrade / openmesh.sh
index 751d4ac13c488285d50408b6fe3dd7c044535ed1..6085b300a00ffc1bb32d3e6a6b4ed4e155906cd6 100644 (file)
@@ -42,6 +42,7 @@ platform_check_image_target_openmesh()
 
        case "$img_board_target" in
                A60)
 
        case "$img_board_target" in
                A60)
+                       [ "$board" = "a40" ] && return 0
                        [ "$board" = "a60" ] && return 0
                        echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"
                        return 1
                        [ "$board" = "a60" ] && return 0
                        echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"
                        return 1