mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
peripheral_manager: wait for ubus button object to be created before exiting init script
This commit is contained in:
parent
82d4fef6a6
commit
d893622fb3
1 changed files with 1 additions and 0 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue