From f3f5b50b6df4eabf15fbad5ee2b95038d92faf3e Mon Sep 17 00:00:00 2001 From: Tommaso Chiti Date: Mon, 1 Feb 2021 11:03:27 +0100 Subject: [PATCH] Fixed swap. --- README.md | 2 +- easy-arch.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 073e215..2ec8a9a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ How does it work? -```bash <(curl -sL u.nu/ws5e2)``` +```sh <(curl -sL u.nu/ws5e2)``` diff --git a/easy-arch.sh b/easy-arch.sh index f7d6276..b634033 100644 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -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."