aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-11-25 09:51:28 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-11-25 09:51:28 +0000
commitbc97b5de8b24f6eb56fe956b50237280d3c75a8d (patch)
treeb4477107f16677af2c6516c8d68186a19c991e76
parent523aba9ff9f9f4489f9c390ed703f29b0d8d9f43 (diff)
downloadupstream-bc97b5de8b24f6eb56fe956b50237280d3c75a8d.tar.gz
upstream-bc97b5de8b24f6eb56fe956b50237280d3c75a8d.tar.bz2
upstream-bc97b5de8b24f6eb56fe956b50237280d3c75a8d.zip
ar71xx: enable failsafe on the Nanostation M/Rocket M
SVN-Revision: 18532
-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 82de0a9920..1d88f431f0 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 5ff2388715..b1c3b83ea6 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"
;;