view contrib/tor2dns/run @ 948:4ec8a1c7f73c draft

the contrib scripts they should be in contrib/
author Nick <nick@somerandomnick.ano>
date Mon, 04 Jun 2012 13:29:22 +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