summaryrefslogtreecommitdiff
path: root/contrib/tor2dns/run
blob: 1e543a968e728b87ca9d78be1dd574c094e1c114 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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