view contrib/tor2dns/run @ 961:1a7aebf6d8dd draft

Merge branch 'master' of git://git1.srn.ano
author root <root@ip-10-56-75-16.(none)>
date Sun, 22 Jul 2012 02:53:37 +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