fix: enable grub luks support
This commit is contained in:
parent
05a84be3f1
commit
ee151bfad3
1 changed files with 2 additions and 1 deletions
3
base.sh
3
base.sh
|
|
@ -55,7 +55,8 @@ esac
|
|||
./gpu.sh
|
||||
|
||||
# Bootloader
|
||||
sed -i '/GRUB_DISABLE_OS_PROBER=/s/.*/GRUB_DISABLE_OS_PROBER=true/' /etc/default/grub
|
||||
sed -i '/GRUB_DISABLE_OS_PROBER=/s/.*/GRUB_DISABLE_OS_PROBER=true/
|
||||
/GRUB_ENABLE_CRYPTODISK=/s/.*/GRUB_ENABLE_CRYPTODISK=y/' /etc/default/grub
|
||||
|
||||
if [ -n "$grub_timeout" ]; then
|
||||
sed -i "/GRUB_TIMEOUT=/s/.*/GRUB_TIMEOUT=$grub_timeout/" /etc/default/grub
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue