diff options
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/netfs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index c18348d6..105b97f9 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -45,6 +45,13 @@ case "$1" in [ -n "$NCPFSTAB" ] && action $"Mounting NCP filesystems: " mount -a -t ncpfs [ -n "$NETDEVFSTAB" ] && { + if [ -f /etc/multipath.conf -a -x /sbin/multipath.static ]; then + modprobe dm-multipath >/dev/null 2>&1 + /sbin/multipath.static -v 0 + if [ -x /sbin/kpartx ]; then + /sbin/dmsetup ls --target multipath --exec "/sbin/kpartx -a" + fi + fi if [ -x /sbin/lvm.static ]; then if /sbin/lvm.static vgscan > /dev/null 2>&1 ; then action $"Setting up Logical Volume Management:" /sbin/lvm.static vgchange -a y |