Align grub command indentation

This commit is contained in:
natemaia 2019-01-18 22:56:30 -08:00
parent 627aa676c4
commit 5d3ef48ac7

View File

@ -1729,17 +1729,17 @@ setup_grub()
luks_pass "$_LuksOpen" "" || return 1
fi
BCMDS[grub]="mount -t efivarfs efivarfs $efidir/efivars || true &&
${BCMDS[grub]} --bootloader-id=$DIST"
${BCMDS[grub]} --bootloader-id=$DIST"
grep -q $efidir/efivars <<< "$(mount)" || mount -t efivarfs efivarfs $efidir/efivars
fi
BCMDS[grub]="mkdir -p /run/udev /run/lvm &&
mount --bind /hostrun/udev /run/udev &&
mount --bind /hostrun/lvm /run/lvm &&
${BCMDS[grub]} &&
grub-mkconfig -o /boot/grub/grub.cfg &&
sleep 1 && umount /run/udev /run/lvm"
mount --bind /hostrun/udev /run/udev &&
mount --bind /hostrun/lvm /run/lvm &&
${BCMDS[grub]} &&
grub-mkconfig -o /boot/grub/grub.cfg &&
sleep 1 && umount /run/udev /run/lvm"
return 0
}