mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 02:03:37 +08: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.
This commit is contained in:
parent
3623a7ea83
commit
c0aeff4b99
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user