1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-13 21:51:33 -05:00

commenting.

This commit is contained in:
Tommaso Chiti 2021-02-01 09:51:27 +01:00
parent 5b89727972
commit ce29a7d9ca

View File

@ -134,6 +134,7 @@ then
swapon /mnt/swap/swapfile &>/dev/null swapon /mnt/swap/swapfile &>/dev/null
echo "/swap/swapfile none swap defaults 0 0" >> /mnt/etc/fstab echo "/swap/swapfile none swap defaults 0 0" >> /mnt/etc/fstab
else else
# Removing swap subvolumes and fstab entry in case it's not needed.
echo "Deleting BTRFS swap subvolume." echo "Deleting BTRFS swap subvolume."
mount $BTRFS -o subvolid=5 /home mount $BTRFS -o subvolid=5 /home
head -n -4 /home/etc/fstab head -n -4 /home/etc/fstab