[ar71xx] enable sysupgrade support for the TL-WR741ND
authorGabor Juhos <juhosg@openwrt.org>
Sat, 25 Jul 2009 19:50:26 +0000 (19:50 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 25 Jul 2009 19:50:26 +0000 (19:50 +0000)
SVN-Revision: 16982

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

index 09ea0f6..6ef7605 100755 (executable)
@@ -52,6 +52,9 @@ ar71xx_board_name() {
        *TEW-632BRP)
                name="tew-632brp"
                ;;
        *TEW-632BRP)
                name="tew-632brp"
                ;;
+       *TL-WR741ND)
+               name="tl-wr741nd"
+               ;;
        *TL-WR941ND)
                name="tl-wr941nd"
                ;;
        *TL-WR941ND)
                name="tl-wr941nd"
                ;;
index fb61db6..381b40e 100755 (executable)
@@ -20,7 +20,7 @@ platform_check_image() {
                }
                return 0
                ;;
                }
                return 0
                ;;
-       tl-wr941nd)
+        tl-wr741nd | tl-wr941nd)
                [ "$magic" != "0100" ] && {
                        echo "Invalid image type."
                        return 1
                [ "$magic" != "0100" ] && {
                        echo "Invalid image type."
                        return 1