ar71xx: diag.sh: consolidate netgear device entries
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 21 Sep 2013 15:55:57 +0000 (15:55 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 21 Sep 2013 15:55:57 +0000 (15:55 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38104 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index b6bb9e9..d6811c5 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"
                ;;