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.
This commit is contained in:
Tobias Waldekranz
2022-06-23 14:19:30 +02:00
parent ddb42fda70
commit e84333662e
+1 -1
View File
@@ -95,7 +95,7 @@ static plugin_t plugin = {
.hook[HOOK_BASEFS_UP] = {
.cb = setup
},
.depends = { "bootmisc" },
.depends = { "bootmisc", "modprobe" },
};
PLUGIN_INIT(plugin_init)