annotate contrib/tor2dns/run @ 1260:f5ad11b817f1 draft default tip master

switched to using the git subdomain for git repo url
author epoch <epoch@hack.thebackupbox.net>
date Sat, 09 Oct 2021 09:21:28 +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