PHP 8.2.30
Preview: multipathd.sh Size: 420 B
//lib/dracut/modules.d/90multipath/multipathd.sh

#!/bin/sh

if [ "$(getarg rd.multipath)" = "default" ] && [ ! -e /etc/multipath.conf ]; then
    mkdir -p /etc/multipath/multipath.conf.d
    mpathconf --enable --user_friendly_names n
fi

if getargbool 1 rd.multipath -d -n rd_NO_MULTIPATH && [ -e /etc/multipath.conf ]; then
    modprobe dm-multipath
    multipathd -B || multipathd
    need_shutdown
else
    rm -- /etc/udev/rules.d/??-multipath.rules 2>/dev/null
fi

Directory Contents

Dirs: 0 × Files: 7

Name Size Perms Modified Actions
3.38 KB lrwxr-xr-x 2025-12-17 18:54:46
Edit Download
172 B lrwxr-xr-x 2018-10-08 13:38:33
Edit Download
648 B lrw-r--r-- 2025-12-17 18:54:48
Edit Download
162 B lrwxr-xr-x 2018-10-08 13:38:33
Edit Download
237 B lrwxr-xr-x 2018-10-08 13:38:33
Edit Download
785 B lrw-r--r-- 2025-12-17 18:54:46
Edit Download
420 B lrwxr-xr-x 2025-12-17 18:54:48
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).