if "#{os_mount}" == "initramfs" temp_initrds.concat(initramfs_initrds())
- elsif "#{os_mount}" == "nfs" || "#{os_mount}" == "cifs"
- elsif "#{os_mount}" == "nfs" || "#{os_mount}" == "cifs" || "#{os_mount}" == "local"
you can use: elsif ["nfs", "cifs", "local"].index os_mount command end
temp_initrds.concat(nfs_cifs_initrds()) end
-- 2.23.0