aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-08-01 14:31:04 +0000
committerJohn Crispin <blogic@openwrt.org>2013-08-01 14:31:04 +0000
commit64ad8ac32dfa98ba1ae39fd5812e6b83a0bbc416 (patch)
tree3b15a207c48052ba14db54d613c9e82f91db7561 /target/linux/ramips/base-files/etc
parentc956dee4dbb4296bda2112efddbb08f8bc2c5715 (diff)
downloadupstream-64ad8ac32dfa98ba1ae39fd5812e6b83a0bbc416.tar.gz
upstream-64ad8ac32dfa98ba1ae39fd5812e6b83a0bbc416.tar.bz2
upstream-64ad8ac32dfa98ba1ae39fd5812e6b83a0bbc416.zip
ramips: add Poray X5/X6 Support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37638 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 57c8beb6c2..d04d990665 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -138,6 +138,9 @@ get_status_led() {
ur-336un)
status_led="ur336:green:wps"
;;
+ x5)
+ status_led="x5: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 133c2decb9..fa5b28ea95 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -227,7 +227,8 @@ ramips_setup_macs()
;;
m3 |\
- m4)
+ m4 |\
+ x5)
lan_mac=$(mtd_get_mac_binary factory 4)
lan_mac=$(macaddr_add "$lan_mac" -1)
;;