blob: 0e1d3f24cec56ed6794be50174e11644994b2d80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
# scan for multipaths if udev has settled
. /lib/dracut-lib.sh
[ -d /etc/multipath ] || mkdir -p /etc/multipath
mpdevs=$(
for f in /tmp/.multipath-scan-* ; do
[ -e "$f" ] || continue
echo -n "${f##/tmp/.multipath-scan-} "
done
)
[ -e /etc/multipath.conf ] || exit 1
multipath ${mpdevs}
|