view contrib/tor2dns/run @ 947:1b0a312dcad0 draft

Merge commit 'e336140e1beae2d0cefc9a0281f182224669a9c4'
author Nick <nick@somerandomnick.ano>
date Mon, 04 Jun 2012 13:27:43 +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