From 6bce4d5867016525d07d39a79dbdc4540ce62e2e Mon Sep 17 00:00:00 2001 From: blogic Date: Thu, 1 Aug 2013 14:31:09 +0000 Subject: ramips: add Poray X8 support Signed-off-by: Felix Kaechele git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37639 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 d04d990665..689fee7104 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -141,6 +141,9 @@ get_status_led() { x5) status_led="x5:green:power" ;; + x8) + status_led="x8:green:power" + ;; xdxrn502j) status_led="xdxrn502j:green:power" ;; 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 fa5b28ea95..2df7b0842b 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/02_network +++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network @@ -228,7 +228,8 @@ ramips_setup_macs() m3 |\ m4 |\ - x5) + x5 |\ + x8) lan_mac=$(mtd_get_mac_binary factory 4) lan_mac=$(macaddr_add "$lan_mac" -1) ;; -- cgit v1.2.3