]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
support kernels with built-in modules
authorMatthew Thode <mthode@mthode.org>
Sat, 27 Jan 2018 06:42:55 +0000 (00:42 -0600)
committerHarald Hoyer <harald@hoyer.xyz>
Tue, 30 Jan 2018 08:19:16 +0000 (09:19 +0100)
Don't fail if modprobe fails to load a module, the kernel could have it
statically compiled in.

Signed-off-by: Matthew Thode <mthode@mthode.org>
modules.d/90multipath/multipathd.service

index 0554d954184faa16dfbcb630129d923751c9a1b4..646c7c1476888882529c01a3c8b19b20e5f261a8 100644 (file)
@@ -13,7 +13,7 @@ ConditionKernelCommandLine=!multipath=off
 
 [Service]
 Type=simple
-ExecStartPre=/sbin/modprobe dm-multipath
+ExecStartPre=-/sbin/modprobe dm-multipath
 ExecStart=/sbin/multipathd -s -d
 ExecReload=/sbin/multipathd reconfigure
 ExecStop=/sbin/multipathd shutdown