Cleaning up
This commit is contained in:
1 parent
98fd3ad4c8
commit
77975fab7b
1 file changed
-1
@@ -38,7 +38,6 @@ sed -i -e '/Port 22/c\Port 4242' -e 's/PermitRootLogin yes/PermitRootLogin prohi
|
||||
##----------##
|
||||
|
||||
if free | awk '/^Swap:/ {exit !$2}'; then
|
||||
echo "swap enabled"
|
||||
else
|
||||
fallocate -l 1G /swapfile
|
||||
chmod 600 /swapfile
|
||||
|
||||
Reference in new issue
Block a user