aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorBangLang Huang <banglang.huang@foxmail.com>2016-09-27 14:25:04 +0800
committerJohn Crispin <john@phrozen.org>2016-09-27 17:50:22 +0200
commit142ec7ada939313cc890f94df5fc6903f2660635 (patch)
tree237ecbae5e35ffbf688df8966b127b3b11ede4db /target/linux/ramips/base-files/lib
parent9fe833e1d020748fa92e485aeb08b1ac9a6fdb09 (diff)
downloadupstream-142ec7ada939313cc890f94df5fc6903f2660635.tar.gz
upstream-142ec7ada939313cc890f94df5fc6903f2660635.tar.bz2
upstream-142ec7ada939313cc890f94df5fc6903f2660635.zip
ramips : add support for Newifi D1
Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 7429816675..bb379f77fc 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -325,6 +325,9 @@ ramips_board_detect() {
*"NBG-419N")
name="nbg-419n"
;;
+ *"Newifi-D1")
+ name="newifi-d1"
+ ;;
*"NCS601W")
name="ncs601w"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 162a69e3d8..0ef23087d1 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -96,6 +96,7 @@ platform_check_image() {
mzk-w300nh2|\
mzk-wdpr|\
nbg-419n|\
+ newifi-d1|\
nixcore|\
nw718|\
oy-0001|\