With this new implementation a cron job polling for a new port is no longer requrired just once on reboot.
The VPN IP and Port are now exported to a text file once connected.
The Transmission script wasn't tested, however the changes made to it were identical to that of the deluge script which was tested (on a split VPN system).
As of Feb 2nd 2017, PIA implemented a new way of requesting an open port and phased out the previous way (that of which was used in these scripts).
See here for more details on that: https://www.privateinternetaccess.com/forum/discussion/23431/new-pia-port-forwarding-api
With this new implementation a cron job polling for a new port is no longer requrired just once on reboot.
The VPN IP and Port are now exported to a text file once connected.
The Transmission script wasn't tested, however the changes made to it were identical to that of the deluge script which was tested (on a split VPN system).