Commit c8b9e412 authored by udeved's avatar udeved Committed by Philip Müller
Browse files

[manjaro-chroot] needs check for lvm

parent 8b8a9ea4
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment