summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/base-files/etc/diag.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/base-files/etc/diag.sh')
-rw-r--r--target/linux/lantiq/base-files/etc/diag.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/lantiq/base-files/etc/diag.sh b/target/linux/lantiq/base-files/etc/diag.sh
index f6363b3..70ed25c 100644
--- a/target/linux/lantiq/base-files/etc/diag.sh
+++ b/target/linux/lantiq/base-files/etc/diag.sh
@@ -4,9 +4,9 @@
. /lib/functions/leds.sh
. /lib/functions/lantiq.sh
-boot="$(lantiq_get_dt_led_chosen boot)"
-failsafe="$(lantiq_get_dt_led_chosen failsafe)"
-running="$(lantiq_get_dt_led_chosen running)"
+boot="$(lantiq_get_dt_led boot)"
+failsafe="$(lantiq_get_dt_led failsafe)"
+running="$(lantiq_get_dt_led running)"
set_state() {
status_led="$boot"