1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-10 01:17:44 +03:00

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.

(cherry picked from commit c0aeff4b99)
This commit is contained in:
Daan De Meyer 2024-03-16 17:10:14 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent 36ecc6f0ad
commit c15d8f5c44

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