test
This commit is contained in:
parent
150602f6c9
commit
d8473e2be0
|
@ -34,9 +34,9 @@ if [[ "${cfg[hibernate]}" == "1" ]]; then
|
||||||
sed -i "/^GRUB_CMDLINE_LINUX_DEFAULT/s/=\"/=\"resume=UUID=${cfg[swapuuid]} /" /etc/default/grub
|
sed -i "/^GRUB_CMDLINE_LINUX_DEFAULT/s/=\"/=\"resume=UUID=${cfg[swapuuid]} /" /etc/default/grub
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${cfg[fde_key_store]}" == "twice" ]] || [[ "${cfg[fde_key_store]}" == "once" ]]; then
|
#if [[ "${cfg[fde_key_store]}" == "twice" ]] || [[ "${cfg[fde_key_store]}" == "once" ]]; then
|
||||||
echo "voidluks-${diskid} UUID=${cfg[partuuid]} none luks" > /etc/crypttab
|
# echo "voidluks-${diskid} UUID=${cfg[partuuid]} none luks" > /etc/crypttab
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
if ! grep -q "dark-gray/black" /etc/default/grub; then
|
if ! grep -q "dark-gray/black" /etc/default/grub; then
|
||||||
echo "GRUB_COLOR_NORMAL=\"dark-gray/black\"" >> /etc/default/grub
|
echo "GRUB_COLOR_NORMAL=\"dark-gray/black\"" >> /etc/default/grub
|
||||||
|
|
Loading…
Reference in New Issue