view contrib/tor2dns/run @ 1003:c3bf76d62a4b draft

Merge branch 'master' of git://git1.srn.ano
author icann <icann@icann.ano>
date Sat, 01 Sep 2012 15:40:20 +0000
parents 5c86c4e82b4c
children
line wrap: on
line source

#!/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