diff options
author | Bill Nottingham <notting@redhat.com> | 2005-06-22 20:43:23 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2005-06-22 20:43:23 +0000 |
commit | 1e871eee974c24096f6351044570ae6d4d7e7d85 (patch) | |
tree | c075742e978e2d7939844a01671f19cf899be360 | |
parent | b0b44bd79aa0141de353058e33c101324372c6fc (diff) | |
download | initscripts-1e871eee974c24096f6351044570ae6d4d7e7d85.tar initscripts-1e871eee974c24096f6351044570ae6d4d7e7d85.tar.gz initscripts-1e871eee974c24096f6351044570ae6d4d7e7d85.tar.bz2 initscripts-1e871eee974c24096f6351044570ae6d4d7e7d85.tar.xz initscripts-1e871eee974c24096f6351044570ae6d4d7e7d85.zip |
remove lvm1, it's just cluttering things up here
-rwxr-xr-x | rc.d/rc.sysinit | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index fc9397fe..d7c646e3 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -491,13 +491,6 @@ if [ -x /sbin/lvm.static ]; then fi fi fi -# LVM initialization -if [ -f /etc/lvmtab ]; then - [ -e /proc/lvm ] || modprobe lvm-mod > /dev/null 2>&1 - if [ -e /proc/lvm -a -x /sbin/vgchange ]; then - action $"Setting up Logical Volume Management:" /sbin/vgscan && /sbin/vgchange -a y - fi -fi # Clean up SELinux labels if [ -n "$SELINUX" ]; then @@ -548,10 +541,6 @@ if [ -f /etc/mdadm.conf ]; then action $"Setting up Logical Volume Management:" /sbin/lvm.static vgscan --mknodes --ignorelockingfailure && /sbin/lvm.static vgchange -a y --ignorelockingfailure fi fi - # LVM initialization, take 2 (it could be on top of RAID) - if [ -e /proc/lvm -a -x /sbin/vgchange -a -f /etc/lvmtab ]; then - action $"Setting up Logical Volume Management:" /sbin/vgscan && /sbin/vgchange -a y - fi fi if [ -f /etc/raidtab ]; then @@ -640,10 +629,6 @@ if [ -f /etc/raidtab ]; then action $"Setting up Logical Volume Management:" /sbin/lvm.static vgscan --mknodes --ignorelockingfailure && /sbin/lvm.static vgchange -a y --ignorelockingfailure fi fi - # LVM initialization, take 2 (it could be on top of RAID) - if [ -e /proc/lvm -a -x /sbin/vgchange -a -f /etc/lvmtab ]; then - action $"Setting up Logical Volume Management:" /sbin/vgscan && /sbin/vgchange -a y - fi fi fi |