Browse Source

support kernels with built-in modules

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>
master
Matthew Thode 7 years ago committed by Harald Hoyer
parent
commit
c88c3215e8
  1. 2
      modules.d/90multipath/multipathd.service

2
modules.d/90multipath/multipathd.service

@ -13,7 +13,7 @@ ConditionKernelCommandLine=!multipath=off


[Service] [Service]
Type=simple Type=simple
ExecStartPre=/sbin/modprobe dm-multipath ExecStartPre=-/sbin/modprobe dm-multipath
ExecStart=/sbin/multipathd -s -d ExecStart=/sbin/multipathd -s -d
ExecReload=/sbin/multipathd reconfigure ExecReload=/sbin/multipathd reconfigure
ExecStop=/sbin/multipathd shutdown ExecStop=/sbin/multipathd shutdown

Loading…
Cancel
Save