projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: add user space support for the TL-WA801ND v2
[openwrt/openwrt.git]
/
target
/
linux
/
ar71xx
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 9d42404ac2873f5e9fa8c00ba2a892339e7b6a1e..4aeb88f023c6931804c88ff31cba27df9482850c 100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@
-171,7
+171,8
@@
platform_check_image() {
dir825b_check_image "$1" && return 0
;;
dir825b_check_image "$1" && return 0
;;
- mynet-rext)
+ mynet-rext|\
+ wrt160nl)
cybertan_check_image "$1" && return 0
return 1
;;
cybertan_check_image "$1" && return 0
return 1
;;
@@
-213,6
+214,7
@@
platform_check_image() {
tl-wa7510n | \
tl-wa750re | \
tl-wa850re | \
tl-wa7510n | \
tl-wa750re | \
tl-wa850re | \
+ tl-wa801nd-v2 | \
tl-wa901nd | \
tl-wa901nd-v2 | \
tl-wdr3500 | \
tl-wa901nd | \
tl-wa901nd-v2 | \
tl-wdr3500 | \
@@
-275,13
+277,6
@@
platform_check_image() {
}
return 0
;;
}
return 0
;;
- wrt160nl)
- [ "$magic" != "4e4c" ] && {
- echo "Invalid image type."
- return 1
- }
- return 0
- ;;
routerstation | \
routerstation-pro | \
ls-sr71 | \
routerstation | \
routerstation-pro | \
ls-sr71 | \