ar71xx: diag.sh: consolidate netgear device entries
authorGabor Juhos <juhosg@openwrt.org>
Sat, 21 Sep 2013 15:55:57 +0000 (15:55 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 21 Sep 2013 15:55:57 +0000 (15:55 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38104

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

index b6bb9e9c0042eb6966fcab1d1a90df5cf2ab3fc1..d6811c55c47d660c5e5c7ab16e6bc21eff17202d 100755 (executable)
@@ -167,21 +167,11 @@ get_status_led() {
        wzr-hp-g300nh2)
                status_led="buffalo:red:diag"
                ;;
-       wndap360)
-               status_led="netgear:green:power"
-               ;;
-       wndr3700)
-               status_led="netgear:green:power"
-               ;;
-       wndr4300)
-               status_led="netgear:green:power"
-               ;;
-       wnr2000)
-               status_led="netgear:green:power"
-               ;;
-       wnr2200)
-               status_led="netgear:green:power"
-               ;;
+       wndap360 | \
+       wndr3700 | \
+       wndr4300 | \
+       wnr2000 | \
+       wnr2200 |\
        wnr612-v2)
                status_led="netgear:green:power"
                ;;