1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-09 20:21:34 -05:00

Comments.

This commit is contained in:
Tommaso Chiti 2021-02-01 09:09:08 +01:00
parent 81199abf17
commit 9a1c7b8de0

View File

@ -133,7 +133,8 @@ then
swapon /mnt/swap/swapfile swapon /mnt/swap/swapfile
echo "/swap/swapfile none swap defaults 0 0" >> /mnt/etc/fstab echo "/swap/swapfile none swap defaults 0 0" >> /mnt/etc/fstab
else else
mount $BTRFS -o subvolid=5 /home echo "Deleting BTRFS swap subvolume."
mount $BTRFS -o subvolid=5 /home
btrfs su de /home/@swap btrfs su de /home/@swap
umount -R /home umount -R /home
echo "No swapfile has been added." echo "No swapfile has been added."