brcm63xx: fix LED names for various boards
authorFlorian Fainelli <florian@openwrt.org>
Mon, 4 Mar 2013 13:42:35 +0000 (13:42 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 4 Mar 2013 13:42:35 +0000 (13:42 +0000)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35880

target/linux/brcm63xx/base-files/lib/brcm63xx.sh

index d3ad1b6..ded946d 100755 (executable)
@@ -53,7 +53,7 @@ brcm63xx_detect() {
                ifname=eth0
                ;;
        96348GW)
-               status_led="power"
+               status_led="96348GW:green:power"
                brcm63xx_has_reset_button="true"
                ifname=eth1
                ;;
@@ -62,8 +62,8 @@ brcm63xx_detect() {
                ifname=eth1
                ;;
        GW6200)
-               status_led="line1"
-               status_led2="tel"
+               status_led="GW6200:green:line1"
+               status_led2="GW6200:green:tel"
                brcm63xx_has_reset_button="true"
                ifname=eth1
                ;;
@@ -73,17 +73,17 @@ brcm63xx_detect() {
                ifname=eth0
                ;;
        96348GW-11)
-               status_led="power"
+               status_led="96348GW-11:green:power"
                brcm63xx_has_reset_button="true"
                ifname=eth1
                ;;
        CT536_CT5621)
-               status_led="power"
+               status_led="CT536_CT5621:green:power"
                brcm63xx_has_reset_button="true"
                ifname=eth0
                ;;
        SPW500V)
-               status_led="power:green"
+               status_led="SPW500V:green:power"
                brcm63xx_has_reset_button="true"
                ifname=eth0
                ;;
@@ -104,12 +104,12 @@ brcm63xx_detect() {
                ifname=eth0
                ;;
        CPVA642)
-               status_led="power:green"
+               status_led="CPVA642:green:power:"
                brcm63xx_has_reset_button="true"
                ifname=eth0
                ;;
        D-4P-W)
-               status_led="power:green"
+               status_led="D-4P-W:green:power"
                brcm63xx_has_reset_button="true"
                ifname=eth0
                ;;