projects
/
oweals
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fc1e95
)
add an event for "service.update" triggers
author
John Crispin
<blogic@openwrt.org>
Wed, 27 Aug 2014 08:55:00 +0000
(10:55 +0200)
committer
John Crispin
<blogic@openwrt.org>
Fri, 29 Aug 2014 14:14:57 +0000
(16:14 +0200)
Signed-off-by: John Crispin <blogic@openwrt.org>
service/service.c
patch
|
blob
|
history
diff --git
a/service/service.c
b/service/service.c
index bde2165638791c8633c07e41b4fa0191e57f2b52..a0fa2d507f375de2e3a0c3b7f7d34fb83cc7120a 100644
(file)
--- a/
service/service.c
+++ b/
service/service.c
@@
-66,6
+66,8
@@
service_instance_update(struct vlist_tree *tree, struct vlist_node *node_new,
DEBUG(2, "Create instance %s::%s\n", in_n->srv->name, in_n->name);
instance_start(in_n);
}
+ blob_buf_init(&b, 0);
+ trigger_event("instance.update", b.head);
}
static struct service *