Use new PIA port forwarding API (2017)

This commit is contained in:
Jake Lee
2017-02-09 20:36:26 -08:00
parent 96453b3036
commit 3d1dfc3af9
3 changed files with 4 additions and 15 deletions

View File

@@ -26,8 +26,8 @@ exec sudo -u ${RUN_AS} /usr/bin/transmission-daemon -g ${TRANSMISSION_HOME} --lo
if [ "$OPENVPN_PROVIDER" = "PIA" ]
then
echo "STARTING PORT UPDATER"
exec /etc/transmission/periodicUpdates.sh $4 &
echo "CONFIGURING PORT FORWARDING"
exec /etc/transmission/updatePort.sh &
else
echo "NO PORT UPDATER FOR THIS PROVIDER"
fi