From 3f444ef22f95951b8c256c8253b7d2909d65ef7e Mon Sep 17 00:00:00 2001 From: Marco Ochse Date: Thu, 5 Oct 2017 21:02:36 +0000 Subject: [PATCH] tweaking and testing --- update.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/update.sh b/update.sh index caf907e0..799c45ec 100755 --- a/update.sh +++ b/update.sh @@ -61,17 +61,16 @@ if [ "$1" != "-y" ]; then echo exit fi -######################################### Prevent race condition on updated update.sh!!!! What happens if update.sh will be overwritten by git pull? -######################################### git pull needs to run first, if Already up to date => no action, if update, then fork + echo "### Now running T-Pot update script." echo + fuCHECKINET "https://index.docker.io https://github.com https://pypi.python.org https://ubuntu.com" echo + fuCONFIGCHECK echo -exit -echo echo "### Now stopping T-Pot" systemctl stop tpot