diff options
author | Daniel Golle <daniel@makrotopia.org> | 2018-11-04 18:22:33 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2018-11-04 21:43:36 +0100 |
commit | 4f017c871d794636c43a33c13410bbb7060a5b5b (patch) | |
tree | 936d2c7cfd1e42323e0c5600aa0be9812bd4f677 /target/linux/oxnas/base-files/etc/diag.sh | |
parent | 900005ee75754ba62972ed8da6eba2d6b47e1b7f (diff) | |
download | upstream-4f017c871d794636c43a33c13410bbb7060a5b5b.tar.gz upstream-4f017c871d794636c43a33c13410bbb7060a5b5b.tar.bz2 upstream-4f017c871d794636c43a33c13410bbb7060a5b5b.zip |
oxnas: switch to generic board detect
remove /lib/oxnas.sh platform-specific board-detection and use
generic which is based on device-tree compatible node instead.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/oxnas/base-files/etc/diag.sh')
-rw-r--r-- | target/linux/oxnas/base-files/etc/diag.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/oxnas/base-files/etc/diag.sh b/target/linux/oxnas/base-files/etc/diag.sh index fd3bc3b336..b8a51c2769 100644 --- a/target/linux/oxnas/base-files/etc/diag.sh +++ b/target/linux/oxnas/base-files/etc/diag.sh @@ -6,16 +6,16 @@ get_status_led() { case $(board_name) in - akitio) + "akitio,mycloud") status_led="akitio:red:status" ;; - stg212) + "mitrastar,stg-212") status_led="zyxel:blue:status" ;; - kd20) + "shuttle,kd20") status_led="kd20:blue:status" ;; - pogoplug-pro | pogoplug-v3) + "cloudengines,pogoplug"*) status_led="pogoplug:blue:internal" ;; esac |