Fixed oopsie
This commit is contained in:
@@ -38,6 +38,7 @@ sed -i -e '/Port 22/c\Port 4242' -e 's/PermitRootLogin yes/PermitRootLogin prohi
|
|||||||
##----------##
|
##----------##
|
||||||
|
|
||||||
if free | awk '/^Swap:/ {exit !$2}'; then
|
if free | awk '/^Swap:/ {exit !$2}'; then
|
||||||
|
echo ""
|
||||||
else
|
else
|
||||||
fallocate -l 1G /swapfile
|
fallocate -l 1G /swapfile
|
||||||
chmod 600 /swapfile
|
chmod 600 /swapfile
|
||||||
|
|||||||
Reference in New Issue
Block a user