Skip to content

Commit

Permalink
talk: add set x for easier debugging
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L. <[email protected]>
  • Loading branch information
szaimen committed Jan 28, 2025
1 parent 92f0f2b commit 417d366
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Containers/talk/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ if [ -n "$IPv4_ADDRESS_TALK" ] && [ "$IPv4_ADDRESS_TALK_RELAY" = "$IPv4_ADDRESS_
IPv4_ADDRESS_TALK=""
fi

set -x
IP_BINDING="::"
if grep -q "1" /sys/module/ipv6/parameters/disable \
|| grep -q "1" /proc/sys/net/ipv6/conf/all/disable_ipv6 \
|| grep -q "1" /proc/sys/net/ipv6/conf/default/disable_ipv6; then
IP_BINDING="0.0.0.0"
fi
set +x

# Turn
cat << TURN_CONF > "/conf/eturnal.yml"
Expand Down

0 comments on commit 417d366

Please sign in to comment.