mpc85xx: Add Aerohive HiveAP-330 Access Point
[openwrt/staging/dedeckeh.git] / target / linux / mpc85xx / base-files / etc / diag.sh
index 1107763a3785457d58e48f6e595f0c2c2cea320d..7261795197850784a2ba698a630acac593a7f074 100644 (file)
@@ -1,15 +1,18 @@
 #!/bin/sh
 # Copyright (C) 2013 OpenWrt.org
 
+. /lib/functions.sh
 . /lib/functions/leds.sh
-. /lib/mpc85xx.sh
 
 get_status_led() {
-        case $(mpc85xx_board_name) in
-        tl-wdr4900-v1)
-                status_led="tp-link:blue:system"
-                ;;
-        esac
+       case $(board_name) in
+       hiveap-330)
+               status_led="hiveap-330:green:tricolor0"
+               ;;
+       tl-wdr4900-v1)
+               status_led="tp-link:blue:system"
+               ;;
+esac
 }
 
 set_state() {