annotate contrib/tor2dns/run @ 943:7cd0fbc92605 draft

updated a2.o/darknet_comparison
author Nick <nick@somerandomnick.ano>
date Fri, 23 Mar 2012 01:02:48 +0000
parents 5c86c4e82b4c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
775
5c86c4e82b4c updated my software to resdb
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
1 #!/bin/bash
5c86c4e82b4c updated my software to resdb
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
2 GETIP() {
5c86c4e82b4c updated my software to resdb
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
3 while true; do
5c86c4e82b4c updated my software to resdb
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
4 wget 'http://www.showmyip.com/simple/' -O index.html
5c86c4e82b4c updated my software to resdb
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
5 sleep 5h
5c86c4e82b4c updated my software to resdb
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
6 done
5c86c4e82b4c updated my software to resdb
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
7 }
5c86c4e82b4c updated my software to resdb
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
8
5c86c4e82b4c updated my software to resdb
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
9 [ -e SHARE ] || mkdir SHARE
5c86c4e82b4c updated my software to resdb
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
10 cd SHARE
5c86c4e82b4c updated my software to resdb
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
11 ../serve &
5c86c4e82b4c updated my software to resdb
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
12 GETIP
5c86c4e82b4c updated my software to resdb
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
13