view contrib/tor2dns/run @ 1191:56c959ab3e05 draft

use UTC for dates, 1->21
author cathugger <cathugger@cock.li>
date Fri, 10 Mar 2017 00:46:19 +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