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.
This commit is contained in:
Daan De Meyer 2024-03-16 17:10:14 +01:00
parent 3623a7ea83
commit c0aeff4b99

View File

@ -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