wfadatad: use service_running hook to wait for ieee1905 object

This commit is contained in:
Jakob Olsson 2020-09-21 09:11:46 +02:00
parent db41d298c3
commit 871831fdac

View file

@ -6,8 +6,11 @@ STOP=11
USE_PROCD=1
PROG=/usr/sbin/wfadatad
start_service() {
service_running() {
ubus -t 2 wait_for ieee1905
}
start_service() {
procd_open_instance
procd_set_param command ${PROG}
procd_set_param respawn