From c0aeff4b999318d4da48328fff0ea93c8c457ace Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Sat, 16 Mar 2024 17:10:14 +0100 Subject: [PATCH] units: Accept modules_load and rd.modules_load in systemd-modules-load.service The service will use either, so let's make sure either of them starts the service as well. --- units/systemd-modules-load.service.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/units/systemd-modules-load.service.in b/units/systemd-modules-load.service.in index 0fe6740bdae..ad262fa13ab 100644 --- a/units/systemd-modules-load.service.in +++ b/units/systemd-modules-load.service.in @@ -20,7 +20,9 @@ ConditionDirectoryNotEmpty=|/usr/local/lib/modules-load.d ConditionDirectoryNotEmpty=|/etc/modules-load.d ConditionDirectoryNotEmpty=|/run/modules-load.d ConditionKernelCommandLine=|modules-load +ConditionKernelCommandLine=|modules_load ConditionKernelCommandLine=|rd.modules-load +ConditionKernelCommandLine=|rd.modules_load [Service] Type=oneshot