bcm53xx: add Cisco Meraki MR32
[openwrt/openwrt.git] / target / linux / bcm53xx / base-files / etc / diag.sh
index 1a9332327ac30ece061308a44a13873863a6df55..bf5b779aa8a94d64ac622d64dcb8f9a141556675 100644 (file)
@@ -18,6 +18,9 @@ get_status_led() {
                status_led=$(basename $status_led_file)
                return
        fi;
+
+       # And finally, let's also try the device-Tree aliases node
+       status_led="$(get_dt_led status)"
 }
 
 set_state() {