aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-08-14 18:15:35 +0000
committerJohn Crispin <john@openwrt.org>2013-08-14 18:15:35 +0000
commit36e3424fa5200e645e5193d3b7fbeab596968ad7 (patch)
treec22d0c308bd3dab682089969b8aa22d353d78ee5 /target/linux/ramips/base-files/etc/uci-defaults
parent632a3e3a79b8648086a74253c5bd96a1b275d213 (diff)
downloadupstream-36e3424fa5200e645e5193d3b7fbeab596968ad7.tar.gz
upstream-36e3424fa5200e645e5193d3b7fbeab596968ad7.tar.bz2
upstream-36e3424fa5200e645e5193d3b7fbeab596968ad7.zip
ramips: add support for dir810l and asus rp-n53
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37780
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/01_leds7
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network3
2 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
index 7f69231da9..7bec16f491 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -74,6 +74,9 @@ case $board in
dir-620-d1)
set_wifi_led "d-link:green:wifi"
;;
+ dir-810l)
+ ucidef_set_led_default "power" "POWER" "dlink:green:power" "1"
+ ;;
esr-9753)
set_wifi_led "rt2800pci-phy0::radio"
;;
@@ -135,6 +138,10 @@ case $board in
wnce2001)
set_wifi_led "netgear:green:wlan"
;;
+ rp-n53)
+ ucidef_set_led_netdev "eth" "Network" "asus:white:back" "eth0"
+ set_wifi_led "asus:blue:wifi"
+ ;;
esac
ucidef_commit_leds
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 ef13e364a5..441d3393cf 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -197,7 +197,8 @@ ramips_setup_macs()
rt-n13u | \
hg255d | \
- fonera20n)
+ fonera20n |
+ dir-810l)
lan_mac=$(mtd_get_mac_binary factory 40)
wan_mac=$(macaddr_add "$lan_mac" 1)
;;