mirror of
https://github.com/troglobit/finit.git
synced 2026-11-14 19:03:16 +00:00
Fix #61: Reassert net/* conditions after initctl reload
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
0cccc629bf
commit
044ded3045
3 files changed
+38
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user