kumy
|
efe4824546
|
Fix detecting ipv4 tunnel address
The original grep expression will fails if server support also ipv6.
```
qbittorrent | + ip addr show tun0
qbittorrent | + grep inet
qbittorrent | + awk { print $2 }
qbittorrent | + local_vpn_ip=10.2.10.6
qbittorrent | fe80::faac:xxx:xxx:xxx/64
qbittorrent | + pia_client_id_file=/etc/transmission/pia_client_id
qbittorrent | + transmission_settings_file=/data/transmission-home/settings.json
qbittorrent | + port_assignment_url=https://www.privateinternetaccess.com/vpninfo/port_forward_assignment
qbittorrent | + cat /etc/transmission/pia_client_id
qbittorrent | + pia_client_id=6fe581ea5b6273a88ed8421b4ceed454
qbittorrent | + [ -z 6fe581ea5b6273a88ed8421b4ceed454 ]
qbittorrent | + curl -d user=xxx&pass=xxx&client_id=6fe581ea5b6273a88ed8421b4ceed454&local_ip=10.2.10.6
qbittorrent | fe80::faac:xxx:xxx:xxx/64 https://www.privateinternetaccess.com/vpninfo/port_forward_assignment
qbittorrent | % Total % Received % Xferd Average Speed Time Time Time Current
qbittorrent | Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
```
|
2016-11-03 20:18:16 +01:00 |
|
Doug Daniels
|
0faafc3a99
|
Merge remote-tracking branch 'origin/dev' into transmission-resume-torrent
Conflicts:
transmission/start.sh
transmission/updatePort.sh
|
2015-08-13 11:26:21 -05:00 |
|
Doug Daniels
|
8d43c09bfb
|
Closes #23 - Ensure TRANSMISSION_HOME is on a persistent volume to store torrent resume info
|
2015-08-12 23:57:47 -05:00 |
|
Kristian Haugene
|
0949d82219
|
moved scripts and templates out of transmission daemon home folder. this allows mounting of /etc/transmission-daemon to keep state, ref issue #22
|
2015-08-09 21:02:05 +02:00 |
|
Kristian Haugene
|
91ccd7e3dd
|
modified startup scripts to support more vpn providers
|
2015-08-07 23:07:55 +02:00 |
|
Kristian Haugene
|
553dbf628c
|
use same script names inside and outside container. cleaner adding them as well
|
2015-05-24 21:54:23 +02:00 |
|