forked from mirrored-repos/manjaro-tools
[manjaro-chroot] needs check for lvm
This commit is contained in:
parent
7522f8da23
commit
fc44c452cf
1 changed files with 4 additions and 8 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue