aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/init.d/netfs6
-rwxr-xr-xrc.d/rc.sysinit4
2 files changed, 5 insertions, 5 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs
index 48385930..aef89709 100755
--- a/rc.d/init.d/netfs
+++ b/rc.d/init.d/netfs
@@ -52,9 +52,9 @@ case "$1" in
/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
+ if [ -x /sbin/lvm ]; then
+ if /sbin/lvm vgscan > /dev/null 2>&1 ; then
+ action $"Setting up Logical Volume Management:" /sbin/lvm vgchange -a y
fi
fi
STRING=$"Checking network-attached filesystems"
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 2d282b07..0afd98f7 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -436,8 +436,8 @@ if [ -c /dev/mapper/control ]; then
done
fi
- if [ -x /sbin/lvm.static ]; then
- action $"Setting up Logical Volume Management:" /sbin/lvm.static vgchange -a y --ignorelockingfailure
+ if [ -x /sbin/lvm ]; then
+ action $"Setting up Logical Volume Management:" /sbin/lvm vgchange -a y --ignorelockingfailure
fi
fi