Actually, patch the right file

This commit is contained in:
maride 2017-09-20 15:51:03 +02:00
parent c2d26a1f01
commit 58d4f78a92

View File

@ -3,7 +3,7 @@
echo "~> Installing systemd-swap"
pacstrap /mnt systemd-swap
echo " Patching swap.conf"
arch-chroot /mnt sed -i "s/\$swapfu_enabled=0/swapfu_enabled=1/g" /etc/systemctl/swap.conf
arch-chroot /mnt sed -i "s/\$swapfu_enabled=0/swapfu_enabled=1/g" /etc/systemd/swap.conf
echo " Enabling systemd-swap on boot"
arch-chroot /mnt systemctl enable systemd-swap