diff options
author | Tobias Powalowski <tpowa@archlinux.org> | 2006-06-07 16:49:32 +0000 |
---|---|---|
committer | Tobias Powalowski <tpowa@archlinux.org> | 2006-06-07 16:49:32 +0000 |
commit | b4306a3ede324f6bdbfa5c7b80d0cff15f22c1be (patch) | |
tree | e6a17e77f4bccb791678dcd9ae2e7a915f96d460 /rc.shutdown | |
parent | ddac836cdbb67ba5b89d21aa3b25a67919efeb88 (diff) | |
download | initscripts-b4306a3ede324f6bdbfa5c7b80d0cff15f22c1be.tar.xz |
'upgpkg: removed kernel24 stuff eg. devfsd support and lvm1'
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-x | rc.shutdown | 6 |
1 files changed, 1 insertions, 5 deletions
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" |