changeset 1085:5ec278277aa4 draft

[peer2anonet] fix for ./scripts/add_ip (also include tinydns and tinydns)
author d3v11 <d3v11@d3v11.ano>
date Tue, 19 Mar 2013 21:22:47 +0000
parents 93106436f24f
children e017ad6a8c7b
files contrib/peer2anonet/peer2anonet db/ip/01/01/05/ns/a.ns.d3v11.ano db/ip/01/01/05/owner
diffstat 3 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/peer2anonet/peer2anonet	Sat Mar 16 13:03:25 2013 +0000
+++ b/contrib/peer2anonet/peer2anonet	Tue Mar 19 21:22:47 2013 +0000
@@ -53,7 +53,7 @@
 
     NICK=`cat conf/git_name`
     ./scripts/add_as $P2A_ASN $NICK
-    ./scripts/add_ip $P2A_NET/24 $NICK
+    ./scripts/add_ip $P2A_NET/24 $NICK "`cat conf/tinydns__srvrname`/`cat conf/tinydns__srvrip`"
     [ -e "db/usr/$NICK" ] || mkdir -p "db/usr/$NICK"
     [ -e "db/usr/$NICK/git" ] || echo "git://git.$NICK.ano/">"db/usr/$NICK/git"
     [ -e "db/usr/$NICK/email" ] || echo "`cat conf/git_email`">"db/usr/$NICK/email"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/db/ip/01/01/05/ns/a.ns.d3v11.ano	Tue Mar 19 21:22:47 2013 +0000
@@ -0,0 +1,1 @@
+1.1.5.153
--- a/db/ip/01/01/05/owner	Sat Mar 16 13:03:25 2013 +0000
+++ b/db/ip/01/01/05/owner	Tue Mar 19 21:22:47 2013 +0000
@@ -1,1 +1,1 @@
-d3v1150m471c
+d3v11