summaryrefslogtreecommitdiffstats
path: root/ubus.c
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-10-06 20:15:24 +0200
committerJohn Crispin <blogic@openwrt.org>2014-10-06 20:53:55 +0200
commitf45672d80bf2fec4ccb7363de1da6adb9e3f4421 (patch)
tree7e7a51078ec38557272c099c06f86a3f206ef463 /ubus.c
parent5ca0a7069a50c6b588657cf648dc53192f2e7a7f (diff)
downloadunitd-f45672d80bf2fec4ccb7363de1da6adb9e3f4421.tar
unitd-f45672d80bf2fec4ccb7363de1da6adb9e3f4421.zip
make procd wait for ubus to come up
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'ubus.c')
-rw-r--r--ubus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ubus.c b/ubus.c
index bb3908e..211a1ec 100644
--- a/ubus.c
+++ b/ubus.c
@@ -57,6 +57,7 @@ ubus_connect_cb(struct uloop_timeout *timeout)
DEBUG(2, "Connected to ubus, id=%08x\n", ctx->local_id);
ubus_add_uloop(ctx);
+ procd_state_ubus_connect();
}
void