X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fkirkwood%2Fbase-files%2Fetc%2Fdiag.sh;fp=target%2Flinux%2Fkirkwood%2Fbase-files%2Fetc%2Fdiag.sh;h=0667ad29fe233c2c99f51b077cc6a877b90282fb;hp=ec9eead70d5fcf84749d3ea6f5e3c8a1d3cd7fd6;hb=0674a99f7eb0c630b25eca774e3fe341d6c0efc8;hpb=0e94df65ca7f6a5c39421100c223c92889205b6f diff --git a/target/linux/kirkwood/base-files/etc/diag.sh b/target/linux/kirkwood/base-files/etc/diag.sh index ec9eead70d..0667ad29fe 100755 --- a/target/linux/kirkwood/base-files/etc/diag.sh +++ b/target/linux/kirkwood/base-files/etc/diag.sh @@ -6,10 +6,8 @@ get_status_led() { case $(board_name) in - seagate,dockstar|\ - seagate,goflexhome|\ - seagate,goflexnet) - status_led="status:orange:fault" + cisco,on100) + status_led="on100:green:health" ;; cloudengines,pogoe02) status_led="pogo_e02:orange:fault" @@ -23,12 +21,14 @@ get_status_led() { linksys,viper) status_led="viper:white:health" ;; + seagate,dockstar|\ + seagate,goflexhome|\ + seagate,goflexnet) + status_led="status:orange:fault" + ;; zyxel,nsa310b) status_led="nsa310:green:sys" ;; - cisco,on100) - status_led="on100:green:health" - ;; esac }