ipq806x: Sort occurrences of boardame alphabetically
[openwrt/staging/chunkeey.git] / target / linux / ipq806x / base-files / etc / diag.sh
index 7c9a9d0..df4afd9 100755 (executable)
@@ -2,12 +2,11 @@
 # Copyright (C) 2016 Henryk Heisig hyniu@o2.pl
 
 . /lib/functions/leds.sh
-. /lib/ipq806x.sh
 
-boot="$(ipq806x_get_dt_led boot)"
-failsafe="$(ipq806x_get_dt_led failsafe)"
-running="$(ipq806x_get_dt_led running)"
-upgrade="$(ipq806x_get_dt_led upgrade)"
+boot="$(get_dt_led boot)"
+failsafe="$(get_dt_led failsafe)"
+running="$(get_dt_led running)"
+upgrade="$(get_dt_led upgrade)"
 
 set_state() {
        status_led="$boot"