From: Marek Lindner <ma...@open-mesh.com>

Signed-off-by: Marek Lindner <ma...@open-mesh.com>
[s...@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <s...@open-mesh.com>
---
 target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh | 1 +
 target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh 
b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
index 9eac5ef..db37425 100644
--- a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
@@ -62,6 +62,7 @@ platform_check_image_openmesh()
                        [ "$board" = "om2pv2" ] && break
                        [ "$board" = "om2p-lc" ] && break
                        [ "$board" = "om2p-hs" ] && break
+                       [ "$board" = "om2p-hsv2" ] && break
                        echo "Invalid image board target ($img_board_target) 
for this platform: $board. Use the correct image for this platform"
                        return 1
                        ;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh 
b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 1bd6a28..2de1798 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -215,6 +215,7 @@ platform_check_image() {
        om2p | \
        om2pv2 | \
        om2p-hs | \
+       om2p-hsv2 | \
        om2p-lc)
                platform_check_image_openmesh "$magic_long" "$1" && return 0
                return 1
@@ -373,6 +374,7 @@ platform_do_upgrade() {
        om2p | \
        om2pv2 | \
        om2p-hs | \
+       om2p-hsv2 | \
        om2p-lc)
                platform_do_upgrade_openmesh "$ARGV"
                ;;
-- 
2.0.0.rc4
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to