aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorperillamint <perillamint@gentoo.moe>2016-11-18 20:46:27 +0900
committerJohn Crispin <john@phrozen.org>2016-11-21 10:13:17 +0100
commit68634426fee42803b4be956ef3ac262dee6f8384 (patch)
tree45c0a77479457db44e27dffddcf2751d10ca49dd /target/linux/ramips/base-files/lib
parenta74394be00f5b3f9d71f4d04c9e2ce6ea47a46b4 (diff)
downloadupstream-68634426fee42803b4be956ef3ac262dee6f8384.tar.gz
upstream-68634426fee42803b4be956ef3ac262dee6f8384.tar.bz2
upstream-68634426fee42803b4be956ef3ac262dee6f8384.zip
ramips: add support for WeVO W2914NS v2
Signed-off-by: Yong-hyu Ban <perillamint@gentoo.moe>
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh6
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
2 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 4a4204bc24..5c82188406 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -13,6 +13,9 @@ ramips_board_detect() {
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
case "$machine" in
+ *"11AC NAS Router")
+ name="w2914nsv2"
+ ;;
*"3G150B")
name="3g150b"
;;
@@ -454,6 +457,9 @@ ramips_board_detect() {
*"W150M")
name="w150m"
;;
+ *"W2914NS v2")
+ name="w2914nsv2"
+ ;;
*"W306R V2.0")
name="w306r-v20"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index a7e9e19fa5..7c63c1cf3b 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -133,6 +133,7 @@ platform_check_image() {
vocore|\
vr500|\
w150m|\
+ w2914nsv2|\
w306r-v20|\
w502u|\
wf-2881|\