peripheral_manager: wait for ubus button object to be created before exiting init script

This commit is contained in:
Sukru Senli 2016-05-12 19:17:40 +02:00
parent 82d4fef6a6
commit d893622fb3

View file

@ -17,6 +17,7 @@ start_service() {
service_running() {
ubus -t 2 wait_for led.status
ubus call led.status set '{"state":"ok"}'
ubus -t 2 wait_for button
}
stop() {