aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-xrc.d/init.d/netfs9
1 files changed, 8 insertions, 1 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs
index c1769d9d..8609e813 100755
--- a/rc.d/init.d/netfs
+++ b/rc.d/init.d/netfs
@@ -45,8 +45,15 @@ 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 1>&1 ; then
+ if /sbin/lvm.static vgscan > /dev/null 2>&1 ; then
action $"Setting up Logical Volume Management:" /sbin/lvm.static vgchange -a y
fi
fi