summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-25 09:51:28 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-25 09:51:28 +0000
commit4e8c80cba447f0ace6c68b1355f1fac00eb7d759 (patch)
treeba2135d217da25c54a293f25a8ae5575aaca2296 /target
parent227b0b29bdd246463ce93b847dd380909a3a4ae0 (diff)
ar71xx: enable failsafe on the Nanostation M/Rocket M
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18532 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh2
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh6
2 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 82de0a992..1d88f431f 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -39,7 +39,7 @@ get_status_led() {
aw-nr580)
status_led="aw-nr580:green:ready"
;;
- bullet-m)
+ bullet-m | rocket-m | nano-m)
status_led="ubnt:green:link4"
;;
ls-sr71)
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 5ff238871..b1c3b83ea 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -22,6 +22,9 @@ ar71xx_board_name() {
*"Bullet M")
name="bullet-m"
;;
+ *"Nanostation M")
+ name="nanostation-m"
+ ;;
*LS-SR71)
name="ls-sr71"
;;
@@ -49,6 +52,9 @@ ar71xx_board_name() {
*RB-493)
name="rb-493"
;;
+ *"Rocket M")
+ name="rocket-m"
+ ;;
*RouterStation)
name="routerstation"
;;