diff options
author | Mathias Kresin <dev@kresin.me> | 2017-12-28 10:18:48 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-01-09 22:06:55 +0100 |
commit | c9e2c35f46346fc460a78b8f13b70d538c47cb27 (patch) | |
tree | e8def2744bc1f68beeee290eadd6ee55787968e4 /target/linux/kirkwood/base-files/etc/diag.sh | |
parent | aa6f5f1787a69c8b9af7533010f2d099075d9826 (diff) | |
download | upstream-c9e2c35f46346fc460a78b8f13b70d538c47cb27.tar.gz upstream-c9e2c35f46346fc460a78b8f13b70d538c47cb27.tar.bz2 upstream-c9e2c35f46346fc460a78b8f13b70d538c47cb27.zip |
kirkwood: use the generic board detect
Drop the target specific detection function in favour of the generic
one provided by base-files.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/kirkwood/base-files/etc/diag.sh')
-rwxr-xr-x | target/linux/kirkwood/base-files/etc/diag.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/kirkwood/base-files/etc/diag.sh b/target/linux/kirkwood/base-files/etc/diag.sh index 71a1639c2a..0ff2ccb17a 100755 --- a/target/linux/kirkwood/base-files/etc/diag.sh +++ b/target/linux/kirkwood/base-files/etc/diag.sh @@ -6,24 +6,24 @@ get_status_led() { case $(board_name) in - dockstar|\ - goflexhome|\ - goflexnet) + seagate,dockstar|\ + seagate,goflexhome|\ + seagate,goflexnet) status_led="status:orange:fault" ;; - pogo_e02) + cloudengines,pogoe02) status_led="pogo_e02:orange:fault" ;; - linksys-audi) + linksys,audi) status_led="audi:green:power" ;; - linksys-viper) + linksys,viper) status_led="viper:white:health" ;; - nsa310b) + zyxel,nsa310b) status_led="nsa310:green:sys" ;; - on100) + cisco,on100) status_led="on100:green:health" ;; esac |