Fix #61: Reassert net/* conditions after initctl reload

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2017-01-16 01:09:06 +01:00
parent 0cccc629bf
commit 044ded3045
3 changed files with 38 additions and 0 deletions
+8
View File
@@ -186,8 +186,16 @@ static void nl_callback(void *UNUSED(arg), int sd, int UNUSED(events))
}
}
static void nl_reconf(void *_null)
{
(void)_null;
cond_reassert("net/");
}
static plugin_t plugin = {
.name = __FILE__,
.hook[HOOK_SVC_RECONF] = { .cb = nl_reconf },
.io = {
.cb = nl_callback,
.flags = PLUGIN_IO_READ,