From 5187291f11d7a38b8f14da1e34b3563085ad0d0e Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Sat, 26 Sep 2020 20:27:41 +0200 Subject: [PATCH] Solved bug --- scripts/image/setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/image/setup.sh b/scripts/image/setup.sh index 40445d4..b2dfb18 100644 --- a/scripts/image/setup.sh +++ b/scripts/image/setup.sh @@ -451,8 +451,8 @@ if [ "$encrypt_system" == "y" ] echo "sed -i 's/$search_hooks/$replace_hooks/g' $mkinitcpio_path &&" echo "mkinitcpio -P &&" echo "( echo 'YES' - echo '$standart_luks_password' - echo '$standart_luks_password' + echo $standart_luks_password + echo $standart_luks_password )|sudo cryptsetup luksFormat -c aes-xts-plain64 -s 512 -h sha512 --use-random -i 1000 $encrypted_partition_path &&" echo "echo $standart_luks_password | sudo cryptsetup luksOpen $encrypted_partition_path root &&" echo "mkfs.ext4 $root_mapper_path &&"