projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kirkwood: sort occurrences of boardame alphabetically
[openwrt/openwrt.git]
/
target
/
linux
/
kirkwood
/
base-files
/
etc
/
diag.sh
diff --git
a/target/linux/kirkwood/base-files/etc/diag.sh
b/target/linux/kirkwood/base-files/etc/diag.sh
index ec9eead70d5fcf84749d3ea6f5e3c8a1d3cd7fd6..0667ad29fe233c2c99f51b077cc6a877b90282fb 100755
(executable)
--- 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
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"
;;
cloudengines,pogoe02)
status_led="pogo_e02:orange:fault"
@@
-23,12
+21,14
@@
get_status_led() {
linksys,viper)
status_led="viper:white:health"
;;
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"
;;
zyxel,nsa310b)
status_led="nsa310:green:sys"
;;
- cisco,on100)
- status_led="on100:green:health"
- ;;
esac
}
esac
}