Mercurial > hg > anonet-resdb
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"