diff options
author | John Crispin <blogic@openwrt.org> | 2014-06-04 13:46:28 +0200 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-06-05 12:45:15 +0200 |
commit | 0467aebb79f64d1c9d05a84367fda7c02c4ea6b8 (patch) | |
tree | 4bc7eacbd8a5bdc324c5e34a97386810975eacc8 /ubus.c | |
parent | 54829607535631a6701a16113c95a0c09cbd45d8 (diff) | |
download | unitd-0467aebb79f64d1c9d05a84367fda7c02c4ea6b8.tar unitd-0467aebb79f64d1c9d05a84367fda7c02c4ea6b8.zip |
allow instances to register ubus object that should be watched
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'ubus.c')
-rw-r--r-- | ubus.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -53,6 +53,7 @@ ubus_connect_cb(struct uloop_timeout *timeout) ctx->connection_lost = ubus_disconnect_cb; ubus_init_service(ctx); ubus_init_system(ctx); + watch_ubus(ctx); DEBUG(2, "Connected to ubus, id=%08x\n", ctx->local_id); ubus_add_uloop(ctx); |