repo: resdb
action: commit
revision: 
path_from: 
revision_from: 69c3bcefbd7dac06e9f2c15857101f862f4be58e:
path_to: 
revision_to: 
git.thebackupbox.net
resdb
git clone git://git.thebackupbox.net/resdb
commit 69c3bcefbd7dac06e9f2c15857101f862f4be58e
Author: d3v11 
Date:   Thu Jan 12 13:09:59 2012 +0000

    added db/usr/$NICK/git|email to --configure

diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet
index df399d313a2746bc0c6f684c5d114ed404fbc7d1..
index ..f1ab538212988a18fd5da28ddfc89ee84b340750 100755
--- a/contrib/peer2anonet/peer2anonet
+++ b/contrib/peer2anonet/peer2anonet
@@ -50,6 +50,9 @@ CONFIGURE(){
     NICK=`cat conf/git_name`
     ./scripts/add_as $P2A_ASN $NICK
     ./scripts/add_ip $P2A_NET/24 $NICK
+    [ -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"
     exit 0
     }

-----END OF PAGE-----