From: Gabor Juhos <juhosg@openwrt.org>
Date: Sat, 25 Jul 2009 19:50:26 +0000 (+0000)
Subject: enable sysupgrade support for the TL-WR741ND
X-Git-Tag: reboot~22859
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5f2d2695d9a0090ddede54a61dde715b536fb4e7;p=oweals%2Fopenwrt.git

enable sysupgrade support for the TL-WR741ND

SVN-Revision: 16982
---

diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 09ea0f6f9d..6ef7605a54 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -52,6 +52,9 @@ ar71xx_board_name() {
 	*TEW-632BRP)
 		name="tew-632brp"
 		;;
+	*TL-WR741ND)
+		name="tl-wr741nd"
+		;;
 	*TL-WR941ND)
 		name="tl-wr941nd"
 		;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index fb61db6f2d..381b40e322 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -20,7 +20,7 @@ platform_check_image() {
 		}
 		return 0
 		;;
-	tl-wr941nd)
+	 tl-wr741nd | tl-wr941nd)
 		[ "$magic" != "0100" ] && {
 			echo "Invalid image type."
 			return 1