Update entrypoint.sh

This commit is contained in:
Marco Ochse 2024-05-06 19:37:34 +02:00 committed by GitHub
parent f18530575c
commit 3f087b0182
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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."