doc: removed unnecessary comments

This commit is contained in:
phga 2022-03-12 15:24:11 +01:00
parent 3c4f30fc07
commit 1dee1f81be
Signed by: phga
GPG Key ID: 5249548AA705F019

View File

@ -144,7 +144,6 @@ cat <<EOF > /mnt/root/bootstrap2.sh
if [ $ENC == true ]; then if [ $ENC == true ]; then
sed -i 's/^HOOKS.*$/$MKINIT_HOOKS/' /etc/mkinitcpio.conf sed -i 's/^HOOKS.*$/$MKINIT_HOOKS/' /etc/mkinitcpio.conf
# sed -i 's/\(^HOOKS.*block\)/\1 encrypt/' /etc/mkinitcpio.conf
echo "swap LABEL=cryptswap /dev/urandom swap,offset=2048,cipher=aes-xts-plain64,size=512" >> /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 echo "/dev/mapper/swap none swap defaults 0 0" >> /etc/fstab
fi fi