From 89a80a2ce7bb83a1f4d1b685fcf98b331b55aa12 Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sat, 24 Sep 2011 08:35:38 -0500 Subject: fixed tor2dns --- contrib/tor2dns/tor2dns/README | 2 +- contrib/tor2dns/tor2dns/run | 8 ++++---- contrib/tor2dns/tor2dns/wimi.com | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 contrib/tor2dns/tor2dns/wimi.com (limited to 'contrib/tor2dns') diff --git a/contrib/tor2dns/tor2dns/README b/contrib/tor2dns/tor2dns/README index 75a1ebe..2610295 100644 --- a/contrib/tor2dns/tor2dns/README +++ b/contrib/tor2dns/tor2dns/README @@ -19,7 +19,7 @@ mkdir /services/tor2dns tar -xvf tor2dns.tar.gz --directory='/services' cd / ln -s /services/tor2dns /service -echo 'new dns link >>> http://'`cat /var/lib/tor/tor2dns/hostname` +echo 'new dns link >>> http://'`cat /var/lib/tor/tor2dns/hostname`':8053' POST INSTALL: You will want to make sure port fowarding is turned on, on diff --git a/contrib/tor2dns/tor2dns/run b/contrib/tor2dns/tor2dns/run index 087f7aa..1e543a9 100755 --- a/contrib/tor2dns/tor2dns/run +++ b/contrib/tor2dns/tor2dns/run @@ -1,10 +1,10 @@ #!/bin/bash GETIP() { - while true; do - wget `cat ../wimi.com` -O index.html - sleep 5m + while true; do + wget 'http://www.showmyip.com/simple/' -O index.html + sleep 5h done - } + } [ -e SHARE ] || mkdir SHARE cd SHARE diff --git a/contrib/tor2dns/tor2dns/wimi.com b/contrib/tor2dns/tor2dns/wimi.com deleted file mode 100644 index 5aae0b9..0000000 --- a/contrib/tor2dns/tor2dns/wimi.com +++ /dev/null @@ -1 +0,0 @@ -http://automation.whatismyip.com/n09230945.asp -- cgit v1.2.3