mirror of
https://github.com/haugene/docker-transmission-openvpn.git
synced 2025-08-12 01:07:11 +02:00
Case insentitive matching #632
This commit is contained in:
parent
4ed49ea4b2
commit
6bdb5d88cc
@ -29,7 +29,7 @@ then
|
||||
echo "/scripts/openvpn-pre-start.sh returned $?"
|
||||
fi
|
||||
|
||||
if [[ "$OPENVPN_PROVIDER" = "NORDVPN" ]]
|
||||
if [[ "${OPENVPN_PROVIDER^^}" = "NORDVPN" ]]
|
||||
then
|
||||
if [[ -z "$OPENVPN_CONFIG" ]]
|
||||
then
|
||||
|
@ -63,11 +63,11 @@ fi
|
||||
echo "STARTING TRANSMISSION"
|
||||
exec su --preserve-environment ${RUN_AS} -s /bin/bash -c "/usr/bin/transmission-daemon -g ${TRANSMISSION_HOME} --logfile ${TRANSMISSION_HOME}/transmission.log" &
|
||||
|
||||
if [[ "$OPENVPN_PROVIDER" = "PIA" ]]
|
||||
if [[ "${OPENVPN_PROVIDER^^}" = "PIA" ]]
|
||||
then
|
||||
echo "CONFIGURING PORT FORWARDING"
|
||||
exec /etc/transmission/updatePort.sh &
|
||||
elif [[ "$OPENVPN_PROVIDER" = "PERFECTPRIVACY" ]]
|
||||
elif [[ "${OPENVPN_PROVIDER^^}" = "PERFECTPRIVACY" ]]
|
||||
then
|
||||
echo "CONFIGURING PORT FORWARDING"
|
||||
exec /etc/transmission/updatePPPort.sh ${TRANSMISSION_BIND_ADDRESS_IPV4} &
|
||||
|
Loading…
Reference in New Issue
Block a user