Merge pull request #114 from neta540/patch-1

Fix comments for 0-preinstall.sh
This commit is contained in:
Chris Titus 2021-12-31 10:07:56 -06:00 committed by GitHub
commit 9f18504e80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -127,7 +127,7 @@ if [[ $TOTALMEM -lt 8000000 ]]; then
chown root /mnt/opt/swap/swapfile
mkswap /mnt/opt/swap/swapfile
swapon /mnt/opt/swap/swapfile
#The line below is written to /mnt/ but doesn't contain /mnt/, since it's just / for the sysytem itself.
# The line below is written to /mnt/ but doesn't contain /mnt/, since it's just / for the system itself.
echo "/opt/swap/swapfile none swap sw 0 0" >> /mnt/etc/fstab # Add swap to fstab, so it KEEPS working after installation.
fi
echo "--------------------------------------"