Created
April 21, 2012 01:07
-
-
Save ryanfitz/2433047 to your computer and use it in GitHub Desktop.
update transmission blocklists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
killall -9 transmission-daemon | |
rm -v /mnt/SEA_DISC/torrents/.config/transmission-daemon/blocklists/* | |
cd /mnt/SEA_DISC/torrents/.config/transmission-daemon/blocklists | |
ls /mnt/SEA_DISC/torrents/.config/transmission-daemon/blocklists | |
wget -q -O bt_level1.gz http://list.iblocklist.com/?list=bt_level1&fileformat=p2p&archiveformat=gz | |
wget -q -O bt_level2.gz http://list.iblocklist.com/?list=bt_level2&fileformat=p2p&archiveformat=gz | |
wget -q -O bt_level3.gz http://list.iblocklist.com/?list=bt_level3&fileformat=p2p&archiveformat=gz | |
wget -q -O primaryThreats.gz http://list.iblocklist.com/?list=ijfqtofzixtwayqovmxn&fileformat=p2p&archiveformat=gz | |
sleep 10 | |
gunzip *.gz | |
ls /mnt/SEA_DISC/torrents/.config/transmission-daemon/blocklists | |
sleep 1 | |
/opt/bin/transmission-daemon -g /mnt/SEA_DISC/torrents/.config/transmission-daemon/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment