Author: blogic
Date: 2015-03-17 10:43:37 +0100 (Tue, 17 Mar 2015)
New Revision: 44863

Modified:
   trunk/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
   trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
Log:
ar71xx: enable sysupgrade for the OpenMesh OM5P-AN

Signed-off-by: Sven Eckelmann <[email protected]>

Modified: trunk/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh        
2015-03-17 09:43:31 UTC (rev 44862)
+++ trunk/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh        
2015-03-17 09:43:37 UTC (rev 44863)
@@ -68,6 +68,7 @@
                        ;;
                OM5P)
                        [ "$board" = "om5p" ] && break
+                       [ "$board" = "om5p-an" ] && break
                        echo "Invalid image board target ($img_board_target) 
for this platform: $board. Use the correct image for this platform"
                        return 1
                        ;;

Modified: trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh        
2015-03-17 09:43:31 UTC (rev 44862)
+++ trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh        
2015-03-17 09:43:37 UTC (rev 44863)
@@ -288,7 +288,8 @@
        om2p-hs | \
        om2p-hsv2 | \
        om2p-lc | \
-       om5p)
+       om5p | \
+       om5p-an)
                platform_check_image_openmesh "$magic_long" "$1" && return 0
                return 1
                ;;
@@ -488,7 +489,8 @@
        om2p-hs | \
        om2p-hsv2 | \
        om2p-lc | \
-       om5p)
+       om5p | \
+       om5p-an)
                platform_do_upgrade_openmesh "$ARGV"
                ;;
        unifi-outdoor-plus | \
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to