aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-01-19 02:52:54 +0000
committerBill Nottingham <notting@redhat.com>2008-01-19 02:52:54 +0000
commit022d1557789f1531db906b9a57cae8da71f4c085 (patch)
tree0e59de442ce049bc0f661bf29439005eea295b6d
parent421351b381e0d073e3d690bf93e4c6f1a292dbc1 (diff)
downloadinitscripts-022d1557789f1531db906b9a57cae8da71f4c085.tar
initscripts-022d1557789f1531db906b9a57cae8da71f4c085.tar.gz
initscripts-022d1557789f1531db906b9a57cae8da71f4c085.tar.bz2
initscripts-022d1557789f1531db906b9a57cae8da71f4c085.tar.xz
initscripts-022d1557789f1531db906b9a57cae8da71f4c085.zip
use lvm, not lvm.static (#429222)
-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