]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: Accept modules_load and rd.modules_load in systemd-modules-load.service
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 16 Mar 2024 16:10:14 +0000 (17:10 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 17 Mar 2024 12:33:45 +0000 (13:33 +0100)
The service will use either, so let's make sure either of them starts
the service as well.

units/systemd-modules-load.service.in

index 0fe6740bdae158fa06f83f1b9098d608b5a91b5c..ad262fa13ab1e752c5b5889f7e31a05107467f9a 100644 (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