Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
haugene committed Nov 16, 2022
2 parents 43f4a9e + bcebe02 commit dc0bb05
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions openvpn/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,11 @@ if [[ "${ENABLE_UFW,,}" == "true" ]]; then
sed -i -e s/IPV6=yes/IPV6=no/ /etc/default/ufw
ufw enable


# Ignore unset variables from here and out
# The UFW stuff should be revisited at some point...
set +u

if [[ "${TRANSMISSION_PEER_PORT_RANDOM_ON_START,,}" == "true" ]]; then
PEER_PORT="${TRANSMISSION_PEER_PORT_RANDOM_LOW}:${TRANSMISSION_PEER_PORT_RANDOM_HIGH}"
else
Expand Down

0 comments on commit dc0bb05

Please sign in to comment.