aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network4
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
3 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index ee769b5a0f..cd9e08a3c2 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -230,6 +230,7 @@ ramips_setup_interfaces()
na930|\
pbr-d1|\
wli-tx4-ag300n|\
+ wmdr-143n|\
wmr-300|\
wn3000rpv3|\
wrh-300cr)
@@ -345,7 +346,8 @@ ramips_setup_macs()
case $board in
a5-v11|\
- ht-tm02)
+ ht-tm02|\
+ wmdr-143n)
lan_mac=$(cat /sys/class/net/eth0/address)
;;
all0239-3g|\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 685ba070da..0267c9df3f 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -598,6 +598,9 @@ ramips_board_detect() {
*"WLR-6000")
name="wlr-6000"
;;
+ *"WMDR-143N")
+ name="wmdr-143n"
+ ;;
*"WMR-300")
name="wmr-300"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index b087d993b7..14f5ec2cb3 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -170,6 +170,7 @@ platform_check_image() {
wl-wn575a3|\
wli-tx4-ag300n|\
wlr-6000|\
+ wmdr-143n|\
wmr-300|\
wn3000rpv3|\
wnce2001|\