summaryrefslogtreecommitdiff
path: root/contrib/tor2dns/run
diff options
context:
space:
mode:
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
+