summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authord3v11 <d3v11@d3v11.ano>2013-03-19 21:22:47 +0000
committerd3v11 <d3v11@d3v11.ano>2013-03-19 21:22:47 +0000
commitaa24045c3e8667ac4050fb294bcd0e9c663ad2bc (patch)
tree71f86c71cd1d7a77f08f10eb0dffaa44cd5fd64e /contrib
parent9f2494b2b407053f1e4de294ff70e8a965e68b6e (diff)
downloadresdb-aa24045c3e8667ac4050fb294bcd0e9c663ad2bc.tar.gz
resdb-aa24045c3e8667ac4050fb294bcd0e9c663ad2bc.zip
[peer2anonet] fix for ./scripts/add_ip (also include tinydns and tinydns)
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/peer2anonet/peer2anonet2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet
index 146770f..942958d 100755
--- a/contrib/peer2anonet/peer2anonet
+++ b/contrib/peer2anonet/peer2anonet
@@ -53,7 +53,7 @@ CONFIGURE(){
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"