summaryrefslogtreecommitdiffstats
path: root/modules.d/90multipath/module-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xmodules.d/90multipath/module-setup.sh2
1 files changed, 1 insertions, 1 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"