mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
wfadatad: use service_running hook to wait for ieee1905 object
This commit is contained in:
parent
db41d298c3
commit
871831fdac
1 changed files with 4 additions and 1 deletions
|
|
@ -6,8 +6,11 @@ STOP=11
|
||||||
USE_PROCD=1
|
USE_PROCD=1
|
||||||
PROG=/usr/sbin/wfadatad
|
PROG=/usr/sbin/wfadatad
|
||||||
|
|
||||||
start_service() {
|
service_running() {
|
||||||
ubus -t 2 wait_for ieee1905
|
ubus -t 2 wait_for ieee1905
|
||||||
|
}
|
||||||
|
|
||||||
|
start_service() {
|
||||||
procd_open_instance
|
procd_open_instance
|
||||||
procd_set_param command ${PROG}
|
procd_set_param command ${PROG}
|
||||||
procd_set_param respawn
|
procd_set_param respawn
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue