aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-08-01 14:31:09 +0000
committerJohn Crispin <john@openwrt.org>2013-08-01 14:31:09 +0000
commitce4228b41708ddc3a76d81c5837b619071585a99 (patch)
tree19207117a74e39ac3e4f090bcc67e823a5383bc3 /target/linux/ramips/base-files/etc
parent54968110f119a4aa7e9e536f6c2a4a3a973607ea (diff)
downloadupstream-ce4228b41708ddc3a76d81c5837b619071585a99.tar.gz
upstream-ce4228b41708ddc3a76d81c5837b619071585a99.tar.bz2
upstream-ce4228b41708ddc3a76d81c5837b619071585a99.zip
ramips: add Poray X8 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 37639
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network3
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 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)
;;