diff options
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/netfs | 4 | ||||
-rwxr-xr-x | rc.d/rc.sysinit | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index 1ad100bb..c0ea8525 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -43,9 +43,9 @@ 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 + if [ -f /etc/multipath.conf -a -x /sbin/multipath ]; then modprobe dm-multipath >/dev/null 2>&1 - /sbin/multipath.static -v 0 + /sbin/multipath -v 0 if [ -x /sbin/kpartx ]; then /sbin/dmsetup ls --target multipath --exec "/sbin/kpartx -a" fi diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index bdcbe0fc..81335c01 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -328,22 +328,22 @@ fi if [ -c /dev/mapper/control ]; then if ! strstr "$cmdline" nompath && [ -f /etc/multipath.conf -a \ - -x /sbin/multipath.static ]; then + -x /sbin/multipath ]; then modprobe dm-multipath > /dev/null 2>&1 - /sbin/multipath.static -v 0 + /sbin/multipath -v 0 if [ -x /sbin/kpartx ]; then /sbin/dmsetup ls --target multipath --exec "/sbin/kpartx -a -p p" >/dev/null fi fi - if ! strstr "$cmdline" nodmraid && [ -x /sbin/dmraid.static ]; then + if ! strstr "$cmdline" nodmraid && [ -x /sbin/dmraid ]; then modprobe dm-mirror >/dev/null 2>&1 - for x in $(/sbin/dmraid.static -ay -i -p -t 2>/dev/null | \ + for x in $(/sbin/dmraid -ay -i -p -t 2>/dev/null | \ egrep -iv "^no " | \ (IFS=":";while read a rest;do echo $a;done)) ; do dmname=$(resolve_dm_name $x) [ -z "$dmname" ] && continue - /sbin/dmraid.static -ay -i -p "$dmname" >/dev/null 2>&1 + /sbin/dmraid -ay -i -p "$dmname" >/dev/null 2>&1 /sbin/kpartx -a -p p "/dev/mapper/$dmname" done fi |