fix: var name in subscript

master
phga 3 years ago
parent 9bae004505
commit c247962743
Signed by: phga
GPG Key ID: 5249548AA705F019

@ -133,8 +133,7 @@ cat <<EOF > /mnt/root/bootstrap2.sh
if [ $ENC == true ]; then
sed -i 's/\(^HOOKS.*block\)/\1 encrypt/' /etc/mkinitcpio.conf
ct_entry="swap LABEL=cryptswap /dev/urandom swap,offset=2048,cipher=aes-xts-plain64,size=512"
echo $ct_entry >> /etc/crypttab
echo "swap LABEL=cryptswap /dev/urandom swap,offset=2048,cipher=aes-xts-plain64,size=512" >> /etc/crypttab
echo "/dev/mapper/swap none swap defaults 0 0" >> /etc/fstab
fi
@ -188,4 +187,4 @@ chmod u+x /mnt/root/bootstrap2.sh
arch-chroot /mnt /root/bootstrap2.sh
rm /mnt/root/bootstrap2.sh
# reboot
reboot

Loading…
Cancel
Save