diff --git a/wolfpack b/wolfpack index b770f9b..b2f0824 100755 --- a/wolfpack +++ b/wolfpack @@ -53,7 +53,7 @@ search ~~ Uses the Google search } function privacycheck { - if [ "$(whatismyip)" == "$(nslookup aninix.net | grep Address | cut -f 2 -d ' ' | tail -n 1)" ]; then + if [ "$(/usr/local/bin/whatismyip)" == "$(nslookup aninix.net | grep Address | cut -f 2 -d ' ' | tail -n 1)" ]; then echo "ERROR: Should not torrent directly from the AniNIX main IP for privacy reasons" 2>&1 | tee -a "$logfile" exit 1 fi @@ -209,7 +209,7 @@ case "$1" in "--member") echo "Spawning a $(head -n 1 "$2") member for $2 on `uname -n`" | tee -a "$logfile" - (printf "IP: "; whatismyip) | tee -a /var/log/wolfpack.log + (printf "IP: "; /usr/local/bin/whatismyip) | tee -a /var/log/wolfpack.log case "$(head -n 1 "$2")" in "shows") shows "$2"