From e8a6ff899bd0f392d2d0945b49846213b1980a87 Mon Sep 17 00:00:00 2001 From: Sukru Senli Date: Mon, 9 May 2016 10:34:32 +0200 Subject: [PATCH] peripheral_manager: wait fir led.status ubus object to be created --- peripheral_manager/files/etc/init.d/peripheral_manager | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peripheral_manager/files/etc/init.d/peripheral_manager b/peripheral_manager/files/etc/init.d/peripheral_manager index 85cd95ed9..82f624f8c 100755 --- a/peripheral_manager/files/etc/init.d/peripheral_manager +++ b/peripheral_manager/files/etc/init.d/peripheral_manager @@ -15,7 +15,7 @@ start_service() { } service_running() { - ubus -t 2 wait_for leds + ubus -t 2 wait_for led.status ubus call led.status set '{"state":"ok"}' }