1
0
Fork 1

Update README.md

This commit is contained in:
colin 2024-09-13 17:05:04 -04:00
parent 821249b0e0
commit c98bd82999
1 changed files with 1 additions and 3 deletions

View File

@ -1,4 +1,3 @@
```markdown
# Swap File Creation Script # Swap File Creation Script
This script automatically creates a swap file on your system, allowing you to increase the available virtual memory. It calculates the optimal swap file size based on the available disk space, ensuring that the swap file does not exceed 30GB or 5% of the free disk space, whichever is smaller. This script automatically creates a swap file on your system, allowing you to increase the available virtual memory. It calculates the optimal swap file size based on the available disk space, ensuring that the swap file does not exceed 30GB or 5% of the free disk space, whichever is smaller.
@ -42,5 +41,4 @@ The script will provide the following output:
## Note ## Note
This script requires `sudo` privileges to create and activate the swap file, as well as to modify the `/etc/fstab` file for persistence across reboots when using the `--persist` flag. This script requires `sudo` privileges to create and activate the swap file, as well as to modify the `/etc/fstab` file for persistence across reboots when using the `--persist` flag.
```