Don't allocate files when downloading via aria2c.
This commit is contained in:
parent
441685c44d
commit
314c946380
5
aria2c_magnet.sh
Executable file
5
aria2c_magnet.sh
Executable file
@ -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 --file-allocation=none $*
|
||||
|
@ -1,5 +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 $*
|
||||
aria2c --bt-external-ip="$PUBLIC_IP" --dht-listen-port=25690-25699 --listen-port=25670-25679 --file-allocation=none -T $*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user