Silenced output

This commit is contained in:
b.waal
2020-04-23 12:45:41 +02:00
parent e98a08e9f5
commit 1e89a83b09

View File

@@ -38,7 +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 "" echo "" > $OUTPUT 2>&1
else else
fallocate -l 1G /swapfile fallocate -l 1G /swapfile
chmod 600 /swapfile chmod 600 /swapfile