summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/diag.sh
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-10-19 10:10:02 +0000
committerJohn Crispin <john@openwrt.org>2015-10-19 10:10:02 +0000
commit257e76a3df0ddff4583789755e78835d79ed2005 (patch)
treed5452bba5dab1599badb124433fce27775667bd4 /target/linux/ar71xx/base-files/etc/diag.sh
parent024083a556788895ee5f98c7acbd08b7ac2e278e (diff)
downloadmaster-31e0f0ae-257e76a3df0ddff4583789755e78835d79ed2005.tar.gz
master-31e0f0ae-257e76a3df0ddff4583789755e78835d79ed2005.tar.bz2
master-31e0f0ae-257e76a3df0ddff4583789755e78835d79ed2005.zip
ar71xx: Bitmain Antminer S1 & S3 cleanup
Sets the LEDs to boardname:color:led-name Sets the LAN to eth0 Other corrections such as the Machine Name and HWIDs v2 corrects the profile names in the Makefile and changes tabs to spaces in the Makefile 'define Device/' like the other devices. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 47221
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/diag.sh')
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index cfba6b4ad0..b2f77a007d 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -12,9 +12,11 @@ get_status_led() {
all0305)
status_led="eap7660d:green:ds4"
;;
- antminer-s1|\
+ antminer-s1)
+ status_led="antminer-s1:green:system"
+ ;;
antminer-s3)
- status_led="bitmain:green:system"
+ status_led="antminer-s3:green:system"
;;
ap132)
status_led="ap132:green:status"