summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-06 08:05:00 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-06 08:05:00 +0000
commitb016341cf17fd0f1cda5e7a235d2bf5b2986e3bf (patch)
tree2ef63fd7093a9cdb30365bebea19a1b53bf9dd21 /target
parent6451badb13606af9c1bdf82a2c543bd31320ca22 (diff)
ramips: add diag support for RT-N15 and PWH2004
Also sort the board names alphabetically. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27478 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh18
1 files changed, 12 insertions, 6 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 039a414b34..16784603ba 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -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
}