From e84333662eb6c233337793efd97daa5c583b9c08 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Thu, 23 Jun 2022 14:19:30 +0200 Subject: [PATCH] plugins: hotplug: Run after modprobe plugin, if available Since the modprobe plugin (unsurpricingly) may cause new modules to be loaded, it makes sense to to delay the initial device node scan until we know that no mode nodes will show up within the next few microseconds. --- plugins/hotplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hotplug.c b/plugins/hotplug.c index d8884783..9c157510 100644 --- a/plugins/hotplug.c +++ b/plugins/hotplug.c @@ -95,7 +95,7 @@ static plugin_t plugin = { .hook[HOOK_BASEFS_UP] = { .cb = setup }, - .depends = { "bootmisc" }, + .depends = { "bootmisc", "modprobe" }, }; PLUGIN_INIT(plugin_init)