aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-01-05 18:08:28 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-01-05 18:08:28 +0000
commit232eb83f743ed051d6bbc36742b938683fd49287 (patch)
tree8a6c479d4f963e714c9a8391d3600750f78499eb /target/linux/ar71xx/base-files/etc
parentc3b763ac77108f3a98fc71ce8fcd52a512cb5b6e (diff)
downloadupstream-232eb83f743ed051d6bbc36742b938683fd49287.tar.gz
upstream-232eb83f743ed051d6bbc36742b938683fd49287.tar.bz2
upstream-232eb83f743ed051d6bbc36742b938683fd49287.zip
ar71xx: fix LED configuration on the RB-750
SVN-Revision: 29666
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)