mirror of
https://github.com/troglobit/finit.git
synced 2026-10-13 10:14:47 +00:00
plugins: update mdevd to use new notification framework
Last update of plugin before dropping it in favor of an equivalent .conf snippet. (Pending new finit-conf repository). Issue #327 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
+3
-1
@@ -46,7 +46,9 @@ static void setup(void *arg)
|
||||
if (plugin_find("mdevd")) {
|
||||
path = which("mdevd-coldplug");
|
||||
if (path) {
|
||||
run_interactive(path, "Populating device tree");
|
||||
snprintf(cmd, sizeof(cmd), "cgroup.system [S] <service/mdevd/ready> log %s "
|
||||
" -- Populating device tree", path);
|
||||
service_register(SVC_TYPE_RUN, cmd, global_rlimit, NULL);
|
||||
free(path);
|
||||
}
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user