From 9eb2dd5bb4be0bbbb47be056dce9aed88da16ed9 Mon Sep 17 00:00:00 2001 From: blogic Date: Thu, 1 Aug 2013 14:30:58 +0000 Subject: ramips: add Poray M4 4M/8M support Signed-off-by: Felix Kaechele git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37637 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/base-files/etc/diag.sh | 3 +++ target/linux/ramips/base-files/etc/uci-defaults/02_network | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/base-files/etc') diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index a68538b2f7..57c8beb6c2 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -55,6 +55,9 @@ get_status_led() { m3) status_led="m3:blue:status" ;; + m4) + status_led="m4:blue:status" + ;; mofi3500-3gn) status_led="mofi3500-3gn:green:status" ;; diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network index 307330b063..133c2decb9 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/02_network +++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network @@ -226,7 +226,8 @@ ramips_setup_macs() wan_mac=$(macaddr_add "$lan_mac" 1) ;; - m3) + m3 |\ + m4) lan_mac=$(mtd_get_mac_binary factory 4) lan_mac=$(macaddr_add "$lan_mac" -1) ;; -- cgit v1.2.3