mirror of
https://gitlab.manjaro.org/applications/manjaro-architect
synced 2024-11-08 01:10:26 +00:00
Update util-base.sh
This commit is contained in:
parent
17d9e34691
commit
82b1e87948
@ -122,7 +122,7 @@ boot_encrypted_setting()
|
||||
if $(lsblk | grep '/mnt/boot' | grep -q 'crypt' ); then
|
||||
echo "GRUB_ENABLE_CRYPTODISK=y" >> /mnt/etc/default/grub
|
||||
# Check if root is encrypted and there is no separate /boot
|
||||
elif $(lsblk | grep '/mnt' | grep -q 'crypt' ) && [[ $(lsblk | grep '/mnt/boot') == "" ]]; then
|
||||
elif $(lsblk | grep "/mnt$" | grep -q 'crypt' ) && [[ $(lsblk | grep "/mnt/boot$") == "" ]]; then
|
||||
echo "GRUB_ENABLE_CRYPTODISK=y" >> /mnt/etc/default/grub
|
||||
else
|
||||
true
|
||||
|
Loading…
Reference in New Issue
Block a user