mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-12 13:21:33 -05:00
commenting.
This commit is contained in:
parent
5b89727972
commit
ce29a7d9ca
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user