From 88954b1c41cbe771f7875a96f03a2f7c4d4483a5 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 20 Sep 2005 17:22:09 +0000 Subject: use multipath.static (#168321) --- rc.d/rc.sysinit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index c53f0c18..d94ee84d 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -479,7 +479,7 @@ state=`awk '/ \/ / && ($3 !~ /rootfs/) { print $4 }' /proc/mounts` action $"Remounting root filesystem in read-write mode: " mount -n -o remount,rw / # LVM2 initialization -if [ -x /sbin/lvm.static -o -x /sbin/multipath -o -x /sbin/dmraid ]; then +if [ -x /sbin/lvm.static -o -x /sbin/multipath.static -o -x /sbin/dmraid ]; then if ! LC_ALL=C fgrep -q "device-mapper" /proc/devices 2>/dev/null ; then modprobe dm-mod >/dev/null 2>&1 fi @@ -488,9 +488,9 @@ if [ -x /sbin/lvm.static -o -x /sbin/multipath -o -x /sbin/dmraid ]; then fi if [ -c /dev/mapper/control ]; then - if [ -f /etc/multipath.conf -a -x /sbin/multipath ]; then + if [ -f /etc/multipath.conf -a -x /sbin/multipath.static ]; then modprobe dm-multipath >/dev/null 2>&1 - /sbin/multipath -v 0 + /sbin/multipath.static -v 0 fi if [ -x /sbin/dmraid ]; then -- cgit