diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2016-09-28 02:14:33 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-10-04 11:50:49 +0200 |
commit | d09f4e06316c2b51c19fb8d69c08c58fd26f9497 (patch) | |
tree | 5a1deac7c4c967ddf9c33898b60a96f45d24d3d3 /target/linux | |
parent | 2917ae91ec363ff5f7c2cc0e7815df26dc40e744 (diff) | |
download | mtk-20170518-d09f4e06316c2b51c19fb8d69c08c58fd26f9497.zip mtk-20170518-d09f4e06316c2b51c19fb8d69c08c58fd26f9497.tar.gz mtk-20170518-d09f4e06316c2b51c19fb8d69c08c58fd26f9497.tar.bz2 |
ar71xx: base-files: combine boards with the same config in etc/diag.sh
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar71xx/base-files/etc/diag.sh | 86 |
1 files changed, 24 insertions, 62 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 5c43443..fd6117b 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -14,16 +14,20 @@ get_status_led() { all0305) status_led="eap7660d:green:ds4" ;; - antminer-s1) - status_led="$board:green:system" - ;; - antminer-s3) - status_led="$board:green:system" - ;; - antminer-r1) + antminer-s1|\ + antminer-s3|\ + antminer-r1|\ + minibox-v1|\ + som9331) status_led="$board:green:system" ;; - ap132) + ap132|\ + ap81|\ + db120|\ + dr344|\ + tew-632brp|\ + wpj344|\ + zbt-we1526) status_led="$board:green:status" ;; ap136-010|\ @@ -36,10 +40,10 @@ get_status_led() { ap135-020) status_led="ap135:green:status" ;; - ap81) - status_led="$board:green:status" - ;; - ap83) + ap83|\ + mr12|\ + mr16|\ + nbg6616) status_led="$board:green:power" ;; ap96) @@ -87,9 +91,6 @@ get_status_led() { cr5000) status_led="pcs:amber:power" ;; - db120) - status_led="$board:green:status" - ;; dgl-5500-a1|\ dhp-1565-a1|\ dir-505-a1|\ @@ -118,13 +119,11 @@ get_status_led() { dlan-pro-1200-ac) status_led="devolo:status:wlan" ;; - dr344) - status_led="$board:green:status" - ;; dr531) status_led="$board:green:sig4" ;; - dragino2) + dragino2|\ + oolite) status_led="$board:red:system" ;; eap300v2) @@ -147,9 +146,7 @@ get_status_led() { gl-inet) status_led="gl-connect:green:lan" ;; - epg5000) - status_led="$board:amber:power" - ;; + epg5000|\ esr1750) status_led="$board:amber:power" ;; @@ -176,13 +173,8 @@ get_status_led() { mc-mac1200r) status_led="mercury:green:system" ;; - mr12) - status_led="$board:green:power" - ;; - mr16) - status_led="$board:green:power" - ;; - mr18) + mr18|\ + z1) status_led="$board:green:tricolor0" ;; mr600) @@ -213,9 +205,6 @@ get_status_led() { nbg460n_550n_550nh) status_led="nbg460n:green:power" ;; - nbg6616) - status_led="$board:green:power" - ;; nbg6716) status_led="$board:white:power" ;; @@ -288,24 +277,12 @@ get_status_led() { smart-300) status_led="nc-link:green:system" ;; - minibox-v1) - status_led="$board:green:system" - ;; - oolite) - status_led="$board:red:system" - ;; qihoo-c301) status_led="qihoo:green:status" ;; tellstick-znet-lite) status_led="tellstick:white:system" ;; - som9331) - status_led="$board:green:system" - ;; - tew-632brp) - status_led="$board:green:status" - ;; tew-673gru) status_led="trendnet:blue:wps" ;; @@ -424,30 +401,15 @@ get_status_led() { wp543) status_led="$board:green:diag" ;; - wpj342) - status_led="$board:green:sig3" - ;; - wpj344) - status_led="$board:green:status" - ;; - wpj531) - status_led="$board:green:sig3" - ;; + wpj342|\ + wpj531|\ wpj558) status_led="$board:green:sig3" ;; - wrt400n) - status_led="$board:blue:wps" - ;; + wrt400n|\ wrt160nl) status_led="$board:blue:wps" ;; - z1) - status_led="$board:green:tricolor0" - ;; - zbt-we1526) - status_led="$board:green:status" - ;; zcn-1523h-2|\ zcn-1523h-5) status_led="zcn-1523h:amber:init" |