This commit is contained in:
Your Name 2024-08-24 05:43:32 +00:00
parent 901f586064
commit 0d5d803d62

View File

@ -953,7 +953,7 @@ bootloader() {
if [[ $FULL_DISK_ENCRYPTION = *True* ]]; then
KERNEL_COMMAND_LINE="$KERNEL_COMMAND_LINE: rd.luks.uuid=$(/sbin/blkid -s UUID -o value ${BTRFS})"
echo "add_dracutmodules+=\" crypt dm systemd-cryptsetup rootfs-block \"" >/etc/dracut.conf
echo "add_dracutmodules+=\" crypt systemd-cryptsetup dm rootfs-block \"" >/etc/dracut.conf
echo "kernel_cmdline+=\" $KERNEL_COMMAND_LINE \" " >>/etc/dracut.conf
if [ "$AUTO_DECRYPT" == "True" ]; then