diff options
author | Bill Nottingham <notting@redhat.com> | 2001-01-24 16:20:52 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-01-24 16:20:52 +0000 |
commit | 4b4b0ab0f8f9bfac56a33e5be90319f536219cdd (patch) | |
tree | fd0365f7891e4e80c2ddc416c0558a3116300b2c /rc.d | |
parent | 4bca24f7672d8cb49c4b441cb061031d7ef47cc0 (diff) | |
download | initscripts-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
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
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 |