kirkwood: use the generic board detect
[openwrt/openwrt.git] / target / linux / kirkwood / base-files / etc / diag.sh
index 71a1639c2a6da6d84d3a98bb2bbbae361634e0e5..0ff2ccb17aa55187fc450395db249b6a1be0c056 100755 (executable)
@@ -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