summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-05 18:08:28 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-05 18:08:28 +0000
commit978d04d68003d9d6a6d651d4aaf702763a8a8c9d (patch)
tree3dba11ec0b8d04ff6e608c638919e1c4e5d03654 /target/linux/ar71xx/base-files/etc
parent2f01b6f43a6346f7b4dab7cc0d1c633eeecef408 (diff)
ar71xx: fix LED configuration on the RB-750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29666 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
index f3b67a391e..4d04dd7abe 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -106,9 +106,13 @@ alfa-nx)
set_led_netdev "lan" "LAN" "alfa:green:led_3" "eth1"
;;
-rb750)
+rb-750)
set_led_default "act" "act" "rb750:green:act" "1"
set_led_netdev "port1" "port1" "rb750:green:port1" "eth1"
+ set_led_switch "port2" "port2" "rb750:green:port2" "switch0" "0x10"
+ set_led_switch "port3" "port3" "rb750:green:port3" "switch0" "0x08"
+ set_led_switch "port4" "port4" "rb750:green:port4" "switch0" "0x04"
+ set_led_switch "port5" "port5" "rb750:green:port5" "switch0" "0x02"
;;
dir-825-b1)