From fc44c452cf3ed6a3ced0ebcfd699b43c8c0f3649 Mon Sep 17 00:00:00 2001 From: udeved Date: Tue, 14 Jul 2015 18:38:41 +0200 Subject: [PATCH] [manjaro-chroot] needs check for lvm --- bin/manjaro-chroot.in | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/bin/manjaro-chroot.in b/bin/manjaro-chroot.in index cb842b2..7a03ace 100644 --- a/bin/manjaro-chroot.in +++ b/bin/manjaro-chroot.in @@ -78,14 +78,10 @@ if ${automount};then ${pretend} && display_settings && exit 1 - if [[ -z $(cat /proc/modules | grep dm_mod) ]];then - vgscan - vgchange -ay - if [[ -d /run/systemd ]]; then - systemctl start lvmetad - else - rc-service lvmetad start - fi + if [[ -d /run/systemd ]]; then + systemctl start lvm + else + rc-service lvm start fi os_list=$(detect)