view contrib/tor2dns/run @ 1009:f188f3cfeca1 draft

welcome /airc :-)
author Nick <nick@somerandomnick.ano>
date Thu, 06 Sep 2012 04:38:34 +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