From 31eb702aea630aee922062d9cf5bc0092172cf34 Mon Sep 17 00:00:00 2001 From: l0sted Date: Mon, 28 May 2018 13:05:25 +0300 Subject: [PATCH] upd --- main.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.sh b/main.sh index 05f4954..ae63a1f 100755 --- a/main.sh +++ b/main.sh @@ -1,7 +1,8 @@ #not working encrypted setup #vars -source="rsync@192.168.100.16/rsync/" +IP="192.168.100.16" +source="rsync@"$IP"/rsync/" swapSize=$(free -m | grep "Mem" | awk '{print $2}') let "swapSize += 512" swapSize=$swapSize"M"