view contrib/tor2dns/run @ 1187:7ea11723da51 draft

made a couple error messages more informative
author epoch <epoch@hacking.allowed.ano>
date Sun, 19 Feb 2017 13:07:13 +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