diff --git a/transmission/start.sh b/transmission/start.sh index c30fa021d5..df04acc732 100755 --- a/transmission/start.sh +++ b/transmission/start.sh @@ -3,7 +3,7 @@ # Source our persisted env variables from container startup . /etc/transmission/environment-variables.sh -tun0ip=$(ifconfig tun0 | sed -n '2 p' | awk '{print $2}' | cut -d: -f2) +tun0ip=$4 echo "Updating TRANSMISSION_BIND_ADDRESS_IPV4 to tun0 ip: ${tun0ip}" export TRANSMISSION_BIND_ADDRESS_IPV4=${tun0ip}