summaryrefslogtreecommitdiffstats
path: root/modules.d/90multipath
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xmodules.d/90multipath/module-setup.sh2
-rw-r--r--modules.d/90multipath/multipathd-configure.service6
2 files changed, 4 insertions, 4 deletions
diff --git a/modules.d/90multipath/module-setup.sh b/modules.d/90multipath/module-setup.sh
index 9c3e629..782a880 100755
--- a/modules.d/90multipath/module-setup.sh
+++ b/modules.d/90multipath/module-setup.sh
@@ -126,7 +126,7 @@ install() {
inst_libdir_file "libmultipath*" "multipath/*"
inst_libdir_file 'libgcc_s.so*'
- if [[ $hostonly_cmdline ]]; then
+ if [[ $hostonly_cmdline == "yes" ]]; then
local _conf
_conf=$(cmdline)
[[ $_conf ]] && echo "$_conf" >> "${initdir}/etc/cmdline.d/90multipath.conf"
diff --git a/modules.d/90multipath/multipathd-configure.service b/modules.d/90multipath/multipathd-configure.service
index a2baec7..dba5a68 100644
--- a/modules.d/90multipath/multipathd-configure.service
+++ b/modules.d/90multipath/multipathd-configure.service
@@ -1,8 +1,8 @@
[Unit]
Description=Device-Mapper Multipath Default Configuration
-Before=iscsi.service iscsid.service lvm2-activation-early.service
-Wants=systemd-udev-trigger.service systemd-udev-settle.service local-fs-pre.target
-After=systemd-udev-trigger.service systemd-udev-settle.service
+Before=lvm2-activation-early.service
+Wants=local-fs-pre.target
+After=systemd-journald.socket
Before=local-fs-pre.target multipathd.service
DefaultDependencies=no
Conflicts=shutdown.target