From 3f087b018250d32fc66a335c9ea4088de722941f Mon Sep 17 00:00:00 2001 From: Marco Ochse Date: Mon, 6 May 2024 19:37:34 +0200 Subject: [PATCH] Update entrypoint.sh --- docker/tpotinit/dist/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/tpotinit/dist/entrypoint.sh b/docker/tpotinit/dist/entrypoint.sh index 67da5055..706924a3 100755 --- a/docker/tpotinit/dist/entrypoint.sh +++ b/docker/tpotinit/dist/entrypoint.sh @@ -330,7 +330,7 @@ if [ "${TPOT_OSTYPE}" == "linux" ]; fi # Display open ports -if [ "${TPOT_OSTYPE}" = "linux" ]; +if [ "${TPOT_OSTYPE}" == "linux" ]; then echo echo "# This is a list of open ports on the host (netstat -tulpen)." @@ -355,7 +355,7 @@ touch /tmp/success # We want to see true source for UDP packets in container (https://github.com/moby/libnetwork/issues/1994) # Start autoheal if running on a supported os -if [ "${TPOT_OSTYPE}" = "linux" ]; +if [ "${TPOT_OSTYPE}" == "linux" ]; then sleep 60 echo "# Dropping UDP connection tables to improve visibility of true source IPs."