aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-24 16:20:52 +0000
committerBill Nottingham <notting@redhat.com>2001-01-24 16:20:52 +0000
commit4b4b0ab0f8f9bfac56a33e5be90319f536219cdd (patch)
treefd0365f7891e4e80c2ddc416c0558a3116300b2c
parent4bca24f7672d8cb49c4b441cb061031d7ef47cc0 (diff)
downloadinitscripts-4b4b0ab0f8f9bfac56a33e5be90319f536219cdd.tar
initscripts-4b4b0ab0f8f9bfac56a33e5be90319f536219cdd.tar.gz
initscripts-4b4b0ab0f8f9bfac56a33e5be90319f536219cdd.tar.bz2
initscripts-4b4b0ab0f8f9bfac56a33e5be90319f536219cdd.tar.xz
initscripts-4b4b0ab0f8f9bfac56a33e5be90319f536219cdd.zip
don't try and set up LVM if /etc/lvmtab doesn't exist
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index d857581c..e287e59c 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -199,7 +199,7 @@ else
fsckoptions="-V $fsckoptions"
fi
-if [ -e /proc/lvm -a -x /sbin/vgchange ]; then
+if [ -e /proc/lvm -a -x /sbin/vgchange -a -f /etc/lvmtab ]; then
action $"Setting up LVM:" /sbin/vgchange -a y
fi