aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorKeLei Liang <xzmu@wrtnode.com>2016-06-01 00:32:37 +0800
committerJohn Crispin <john@phrozen.org>2016-06-06 14:58:11 +0200
commit563e9d5e1b26be6d98f04f9cdb3f307f27757b38 (patch)
treeb378401dd809938db8df2465fb9383531832d696 /target/linux/ar71xx/base-files/lib
parent754565a84bb0edc98187368040bd91830da7f122 (diff)
downloadupstream-563e9d5e1b26be6d98f04f9cdb3f307f27757b38.tar.gz
upstream-563e9d5e1b26be6d98f04f9cdb3f307f27757b38.tar.bz2
upstream-563e9d5e1b26be6d98f04f9cdb3f307f27757b38.zip
ar71xx: add WRTnode2Q support
Signed-off-by: KeLei Liang <xzmu@wrtnode.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh3
2 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index c2ad7690a3..2777238692 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -1052,6 +1052,9 @@ ar71xx_board_detect() {
*WRT400N)
name="wrt400n"
;;
+ *"WRTnode2Q board")
+ name="wrtnode2q"
+ ;;
*"WZR-450HP2")
name="wzr-450hp2"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index bfab73cc7c..a5ddf11d09 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -272,7 +272,8 @@ platform_check_image() {
unifiac-pro | \
unifi-outdoor | \
carambola2 | \
- weio )
+ weio | \
+ wrtnode2q)
[ "$magic" != "2705" ] && {
echo "Invalid image type."
return 1