lantiq: cleanup led handling functions
[openwrt/openwrt.git] / target / linux / lantiq / base-files / etc / diag.sh
index f6363b34ac347a3948144ab3653a0d482c400e6e..70ed25cb807c6c27785adae6b74d5a6b705c68ec 100644 (file)
@@ -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"