ar71xx: OM2P LC sysupgrade patch
authorGabor Juhos <juhosg@openwrt.org>
Fri, 6 Jul 2012 11:11:58 +0000 (11:11 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 6 Jul 2012 11:11:58 +0000 (11:11 +0000)
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
SVN-Revision: 32635

target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index f13fb8be7041b0c8a9452e36b3a3d0c0125e2b80..5e5a54f6d243432b011d7a316b0ea2a5baed68e4 100755 (executable)
@@ -126,7 +126,8 @@ platform_check_image() {
                }
                return 0
                ;;
-       om2p)
+       om2p | \
+       om2p-lc)
                platform_check_image_om2p "$magic_long" "$1" && return 0
                return 1
                ;;
@@ -228,7 +229,8 @@ platform_do_upgrade() {
        all0258n )
                platform_do_upgrade_all0258n "$ARGV"
                ;;
-       om2p)
+       om2p | \
+       om2p-lc)
                platform_do_upgrade_om2p "$ARGV"
                ;;
        *)