summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-07-06 08:05:00 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-07-06 08:05:00 +0000
commit1a4e7153b630b59b3bb75174c8aa22b528795854 (patch)
treef312339bb4b09e5f1b35be5efaec90a4d00efa8d /target/linux/ramips/base-files
parentd6985f5b460bb8d0f596864e5a0d6abdcda92c14 (diff)
downloadmtk-20170518-1a4e7153b630b59b3bb75174c8aa22b528795854.zip
mtk-20170518-1a4e7153b630b59b3bb75174c8aa22b528795854.tar.gz
mtk-20170518-1a4e7153b630b59b3bb75174c8aa22b528795854.tar.bz2
ramips: add diag support for RT-N15 and PWH2004
Also sort the board names alphabetically. SVN-Revision: 27478
Diffstat (limited to 'target/linux/ramips/base-files')
-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 039a414..1678460 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
}