summaryrefslogtreecommitdiff
path: root/contrib/tor2dns/run
diff options
context:
space:
mode:
authord3v11 <d3v11@d3v11.ano>2011-11-25 23:21:28 +0000
committerd3v11 <d3v11@d3v11.ano>2011-11-25 23:21:28 +0000
commitd767f074c4182059b51c48995c6e4e3902228f4d (patch)
tree85c196186b25074f215df3b8bee6c456d38f2b82 /contrib/tor2dns/run
parent9cf9a87c268d278fa15d48be0e79fd9c63a37ea3 (diff)
downloadresdb-d767f074c4182059b51c48995c6e4e3902228f4d.tar.gz
resdb-d767f074c4182059b51c48995c6e4e3902228f4d.zip
updated my software to resdb
Diffstat (limited to 'contrib/tor2dns/run')
-rwxr-xr-xcontrib/tor2dns/run13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/tor2dns/run b/contrib/tor2dns/run
new file mode 100755
index 0000000..1e543a9
--- /dev/null
+++ b/contrib/tor2dns/run
@@ -0,0 +1,13 @@
+#!/bin/bash
+GETIP() {
+ while true; do
+ wget 'http://www.showmyip.com/simple/' -O index.html
+ sleep 5h
+ done
+ }
+
+[ -e SHARE ] || mkdir SHARE
+cd SHARE
+../serve &
+GETIP
+