diff options
author | Thomas Bächler <thomas@archlinux.org> | 2006-12-16 23:49:35 +0000 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2006-12-16 23:49:35 +0000 |
commit | 779bd2abb1b67431b6e353eaba569779fb718833 (patch) | |
tree | 4a7045bdbcc92b736efcf67cd83554f225ac573c /rc.sysinit | |
parent | 9b58da29d7ce93bf3dc258a28d2fae00eb181f7e (diff) | |
download | initscripts-779bd2abb1b67431b6e353eaba569779fb718833.tar.xz |
let lvm start quietly
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -91,9 +91,13 @@ if [ "$USELVM" = "yes" -o "$USELVM" = "YES" ]; then if [ -x /sbin/lvm -a -d /sys/block ]; then # Kernel 2.6.x, LVM2 groups stat_busy "Activating LVM2 groups" - /sbin/lvm vgscan --ignorelockingfailure --mknodes - /sbin/lvm vgchange --ignorelockingfailure -a y - stat_done + /sbin/lvm vgscan --ignorelockingfailure --mknodes >/dev/null + /sbin/lvm vgchange --ignorelockingfailure -a y >/dev/null + if [ $? -ne 0 ]; then + stat_fail + else + stat_done + fi fi fi |