diff options
author | John Crispin <john@openwrt.org> | 2013-08-01 14:30:58 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-08-01 14:30:58 +0000 |
commit | 0dc3b44b0de4aee29a9de9b8f24f302e4d08d7a3 (patch) | |
tree | 7bcbb73dd8651f219c94fb2a86e073294344c51a /target/linux/ramips/base-files/etc | |
parent | 23d3b705df405e36b07253f9d16f2fb7757f03f0 (diff) | |
download | upstream-0dc3b44b0de4aee29a9de9b8f24f302e4d08d7a3.tar.gz upstream-0dc3b44b0de4aee29a9de9b8f24f302e4d08d7a3.tar.bz2 upstream-0dc3b44b0de4aee29a9de9b8f24f302e4d08d7a3.zip |
ramips: add Poray M4 4M/8M support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 37637
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-x | target/linux/ramips/base-files/etc/diag.sh | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/uci-defaults/02_network | 3 |
2 files changed, 5 insertions, 1 deletions
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) ;; |