summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-07-25 19:50:26 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-07-25 19:50:26 +0000
commit5f2d2695d9a0090ddede54a61dde715b536fb4e7 (patch)
tree96eaf1bdd91d57eab996786d9eabb486003c0b0f /target/linux/ar71xx
parent838c0682f8aa89b10fe77737ab6442f27a1bac64 (diff)
downloadmtk-20170518-5f2d2695d9a0090ddede54a61dde715b536fb4e7.zip
mtk-20170518-5f2d2695d9a0090ddede54a61dde715b536fb4e7.tar.gz
mtk-20170518-5f2d2695d9a0090ddede54a61dde715b536fb4e7.tar.bz2
enable sysupgrade support for the TL-WR741ND
SVN-Revision: 16982
Diffstat (limited to 'target/linux/ar71xx')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
2 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 09ea0f6..6ef7605 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 fb61db6..381b40e 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