[manjaro-chroot] needs check for lvm

This commit is contained in:
udeved 2015-07-14 18:38:41 +02:00
parent 7522f8da23
commit fc44c452cf

View file

@ -78,14 +78,10 @@ if ${automount};then
${pretend} && display_settings && exit 1 ${pretend} && display_settings && exit 1
if [[ -z $(cat /proc/modules | grep dm_mod) ]];then
vgscan
vgchange -ay
if [[ -d /run/systemd ]]; then if [[ -d /run/systemd ]]; then
systemctl start lvmetad systemctl start lvm
else else
rc-service lvmetad start rc-service lvm start
fi
fi fi
os_list=$(detect) os_list=$(detect)