mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Fixed swap.
This commit is contained in:
parent
ee27105889
commit
f3f5b50b6d
2 changed files with 2 additions and 2 deletions
|
|
@ -1,3 +1,3 @@
|
||||||
How does it work?
|
How does it work?
|
||||||
|
|
||||||
```bash <(curl -sL u.nu/ws5e2)```
|
```sh <(curl -sL u.nu/ws5e2)```
|
||||||
|
|
|
||||||
|
|
@ -137,7 +137,7 @@ else
|
||||||
# Removing swap subvolumes and fstab entry in case it's not needed.
|
# 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 > /home/@/etc/new_fstab && mv /home/@/etc/fstab
|
||||||
btrfs su de /home/@swap &>/dev/null
|
btrfs su de /home/@swap &>/dev/null
|
||||||
umount -R /home
|
umount -R /home
|
||||||
echo "No swapfile has been added."
|
echo "No swapfile has been added."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue