From c099d0bffdc472c65583af490cd46411dd6a4e79 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Sat, 13 Dec 2014 18:08:11 +0100 Subject: [PATCH] Aria2c Torrent downloader --- aria2c_torrent.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 aria2c_torrent.sh diff --git a/aria2c_torrent.sh b/aria2c_torrent.sh new file mode 100644 index 0000000..5989015 --- /dev/null +++ b/aria2c_torrent.sh @@ -0,0 +1,5 @@ +#!/bin/sh +PUBLIC_IP=`wget -O - -q http://admin.birth-online.de/ip.php | tr -d '\n'` +echo "Public IP: $PUBLIC_IP" +aria2c --bt-external-ip="$PUBLIC_IP" --dht-listen-port=25690-25699 --listen-port=25670-25679 -T $* +