mirror of
https://github.com/darksaid98/ubuntu-server-setup.git
synced 2026-12-01 14:38:58 +00:00
Fixes Issue #1
This commit is contained in:
1 parent
ca73a74b18
commit
803b2ce2eb
1 file changed
+1
-1
+1
-1
@@ -63,7 +63,7 @@ function createSwap() {
|
||||
|
||||
# Anything over 4GB in swap is probably unnecessary as a RAM fallback
|
||||
if [ ${swapmem} -gt 4 ]; then
|
||||
phymem=4
|
||||
swapmem=4
|
||||
fi
|
||||
|
||||
sudo fallocate -l "${swapmem}G" /swapfile
|
||||
|
||||
Reference in new issue
Block a user