1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-09-19 15:14:43 -04:00

Fixed swap.

This commit is contained in:
Tommaso Chiti 2021-02-01 11:03:27 +01:00
parent ee27105889
commit f3f5b50b6d
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
How does it work?
```bash <(curl -sL u.nu/ws5e2)```
```sh <(curl -sL u.nu/ws5e2)```

View File

@ -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
head -n -4 /home/@/etc/fstab > /home/@/etc/new_fstab && mv /home/@/etc/fstab
btrfs su de /home/@swap &>/dev/null
umount -R /home
echo "No swapfile has been added."