From b4306a3ede324f6bdbfa5c7b80d0cff15f22c1be Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Wed, 7 Jun 2006 16:49:32 +0000 Subject: 'upgpkg: removed kernel24 stuff eg. devfsd support and lvm1' --- rc.shutdown | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'rc.shutdown') diff --git a/rc.shutdown b/rc.shutdown index ca4edc9..4b3105d 100755 --- a/rc.shutdown +++ b/rc.shutdown @@ -69,11 +69,7 @@ stat_busy "Unmounting Filesystems" stat_done if [ "$USELVM" = "yes" -o "$USELVM" = "YES" ]; then - if [ -f /etc/lvmtab -a -x /sbin/vgchange ]; then - stat_busy "Deactivating LVM1 groups" - /sbin/vgchange -a n - stat_done - elif [ -d /etc/lvm -a -x /sbin/lvm ]; then + if [ -d /etc/lvm -a -x /sbin/lvm ]; then /bin/mount -n -t sysfs none /sys 2>/dev/null if [ -d /sys/block ]; then stat_busy "Deactivating LVM2 groups" -- cgit v1.2.3