Actually, patch the right file
This commit is contained in:
parent
c2d26a1f01
commit
58d4f78a92
@ -3,7 +3,7 @@
|
|||||||
echo "~> Installing systemd-swap"
|
echo "~> Installing systemd-swap"
|
||||||
pacstrap /mnt systemd-swap
|
pacstrap /mnt systemd-swap
|
||||||
echo " Patching swap.conf"
|
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"
|
echo " Enabling systemd-swap on boot"
|
||||||
arch-chroot /mnt systemctl enable systemd-swap
|
arch-chroot /mnt systemctl enable systemd-swap
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user