INSTALLER != curl -s https://aninix.net/foundation/installer-test.bash | /bin/bash compile: ./tpb.torrentengine.sample if [ ! -d /usr/local/src/SharedLibraries ]; then git -C /usr/local/src/ clone https://aninix.net/foundation/SharedLibraries; fi git -C /usr/local/src/SharedLibraries pull; if [ ! -d /usr/local/etc/WolfPack ]; then mkdir -p /usr/local/etc/WolfPack; chmod 0770 /usr/local/etc/WolfPack; cp ./*.pup /usr/local/etc/WolfPack; cp ./tpb.torrentengine.sample /usr/local/etc/WolfPack; chmod 0660 /usr/local/etc/WolfPack/*; echo "Default configuration directory of /usr/local/etc/WolfPack created with example pups and torrent engine."; fi ${INSTALLER} deluge systemctl enable deluged systemctl start deluged sudo -u deluge deluge-console config -s torrentfiles_location /srv/yggdrasil/new_acquisition install: compile /usr/bin/wget /usr/bin/deluge-console /usr/bin/googler wolfpack /usr/local/bin/whatismyip /usr/bin/lynx cp -p /usr/local/src/WolfPack/wolfpack /usr/local/bin/wolfpack make checkperm @echo @echo "Update the config of Deluge for privacy as needed." @echo "https://www.privateinternetaccess.com/forum/discussion/434/utorrent-install-instructions-proxychecker" @echo "https://www.reddit.com/r/torrents/comments/18tye4/setting_up_utorrent_with_private_internet_access/" @echo @echo "Add pups to /usr/local/etc/WolfPack/ to set up your searches." @echo "Add '/usr/local/bin/wolfpack --alpha' to root's crontab to schedule data collection." @echo WolfPack installed\! clean: @echo Nothing to do test: ./wolfpack --member ./example-download.pup ./wolfpack --member ./example-search.pup ./wolfpack --member ./example-shows.pup ./wolfpack --member ./example-torrent.pup reverse: cp /usr/local/bin/wolfpack* . cp /root/bin/offload-wolfpack . checkperm: /usr/local/etc/WolfPack/ chmod -R ug+rw /usr/local/etc/WolfPack/ chmod 0770 /usr/local/etc/WolfPack/ chmod 0755 /usr/local/bin/wolfpack chown root:root /usr/local/bin/wolfpack* offload: offload-wolfpack /root/.ssh/id_rsa /root/.ssh/id_rsa.pub cp offload-wolfpack /root/bin chmod 0700 /root/bin/offload-wolfpack chown root:root /root/bin/offload-wolfpack diff: /usr/local/bin/wolfpack diff ./wolfpack /usr/local/bin/wolfpack if [ -f /root/bin/offload-wolfpack ]; then diff ./offload-wolfpack /root/bin/offload-wolfpack; fi