ramips: fix Power LED handling for WHR-300HP2, WHR-600D, WHR-1166D
authorFelix Fietkau <nbd@openwrt.org>
Mon, 8 Jun 2015 12:51:13 +0000 (12:51 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 8 Jun 2015 12:51:13 +0000 (12:51 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45930

target/linux/ramips/base-files/etc/diag.sh

index c5b2921bc2b257e7cd19f6f14cf9cee17271245c..d6001c5d5bed493cedd7f78329f742b899243884 100644 (file)
@@ -166,9 +166,7 @@ get_status_led() {
        whr-g300n)
                status_led="whr-g300n:green:router"
                ;;
-       wmr300 | \
-       whr-300hp2 | \
-       whr-600d)
+       wmr300)
                status_led="buffalo:green:status"
                ;;
        wli-tx4-ag300n)
@@ -186,6 +184,9 @@ get_status_led() {
        wr8305rt)
                status_led="wr8305rt:sys"
                ;;
+       whr-300hp2 | \
+       whr-600d | \
+       whr-1166d | \
        wsr-600 | \
        wsr-1166)
                status_led="buffalo:orange:diag"