This commit is contained in:
teldra 2021-08-18 12:39:25 +02:00
parent 150602f6c9
commit d8473e2be0
1 changed files with 3 additions and 3 deletions

View File

@ -34,9 +34,9 @@ if [[ "${cfg[hibernate]}" == "1" ]]; then
sed -i "/^GRUB_CMDLINE_LINUX_DEFAULT/s/=\"/=\"resume=UUID=${cfg[swapuuid]} /" /etc/default/grub
fi
if [[ "${cfg[fde_key_store]}" == "twice" ]] || [[ "${cfg[fde_key_store]}" == "once" ]]; then
echo "voidluks-${diskid} UUID=${cfg[partuuid]} none luks" > /etc/crypttab
fi
#if [[ "${cfg[fde_key_store]}" == "twice" ]] || [[ "${cfg[fde_key_store]}" == "once" ]]; then
# echo "voidluks-${diskid} UUID=${cfg[partuuid]} none luks" > /etc/crypttab
#fi
if ! grep -q "dark-gray/black" /etc/default/grub; then
echo "GRUB_COLOR_NORMAL=\"dark-gray/black\"" >> /etc/default/grub