diff options
author | d3v11 <d3v11@d3v11.ano> | 2012-01-12 13:09:59 +0000 |
---|---|---|
committer | d3v11 <d3v11@d3v11.ano> | 2012-01-12 13:10:00 +0000 |
commit | 69c3bcefbd7dac06e9f2c15857101f862f4be58e (patch) | |
tree | c4caed036b50524a234806f139737af2f07611ee /contrib/peer2anonet | |
parent | 3420bb70a369a53f60b25b1393c20744e15f5ee7 (diff) | |
download | resdb-69c3bcefbd7dac06e9f2c15857101f862f4be58e.tar.gz resdb-69c3bcefbd7dac06e9f2c15857101f862f4be58e.zip |
added db/usr/$NICK/git|email to --configure
Diffstat (limited to 'contrib/peer2anonet')
-rwxr-xr-x | contrib/peer2anonet/peer2anonet | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet index df399d3..f1ab538 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 } |