mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-09 20:21:34 -05:00
Changes.
This commit is contained in:
parent
f3f5b50b6d
commit
91c6a0b3b0
@ -137,7 +137,7 @@ else
|
||||
# Removing swap subvolumes and fstab entry in case it's not needed.
|
||||
echo "Deleting BTRFS swap subvolume."
|
||||
mount $BTRFS -o subvolid=5 /home
|
||||
head -n -4 /home/@/etc/fstab > /home/@/etc/new_fstab && mv /home/@/etc/fstab
|
||||
head -n -4 /home/@/etc/fstab > /home/@/etc/new_fstab && mv /home/@/etc/new_fstab /home/@/etc/fstab
|
||||
btrfs su de /home/@swap &>/dev/null
|
||||
umount -R /home
|
||||
echo "No swapfile has been added."
|
||||
|
Loading…
Reference in New Issue
Block a user