ramips: add diag support for RT-N15 and PWH2004
authorGabor Juhos <juhosg@openwrt.org>
Wed, 6 Jul 2011 08:05:00 +0000 (08:05 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 6 Jul 2011 08:05:00 +0000 (08:05 +0000)
Also sort the board names alphabetically.

SVN-Revision: 27478

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

index 039a414b34724caae0ac601e5b5a88b24a15ee31..16784603ba50f781cef114647b5507823d1093c9 100755 (executable)
@@ -36,18 +36,24 @@ get_status_led() {
        fonera20n)
                status_led="fonera20n:green:power"
                ;;
-       v22rw-2x2)
-               status_led="v22rw-2x2:green:security"
-               ;;
-       whr-g300n)
-               status_led="whr-g300n:green:router"
-               ;;
        hw550-3g)
                status_led="hw550-3g:green:status"
                ;;
        mofi3500-3gn)
                status_led="mofi3500-3gn:green:status"
                ;;
+       pwh2004)
+               status_led="pwh2004:green:power"
+               ;;
+       rt-n15)
+               status_led="rt-n15:blue:power"
+               ;;
+       v22rw-2x2)
+               status_led="v22rw-2x2:green:security"
+               ;;
+       whr-g300n)
+               status_led="whr-g300n:green:router"
+               ;;
        esac
 }