Mercurial > hg > anonet-resdb
changeset 885:4cf1f2c3e40f draft
added automatic addition of nameservers to resdb
author | d3v11 <d3v11@d3v11.ano> |
---|---|
date | Sun, 15 Jan 2012 23:05:12 +0000 |
parents | cd9d07046b1c |
children | 9b9bfc7c8dc5 c3da5a2edabc |
files | contrib/peer2anonet/peer2anonet |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/peer2anonet/peer2anonet Sun Jan 15 22:40:56 2012 +0000 +++ b/contrib/peer2anonet/peer2anonet Sun Jan 15 23:05:12 2012 +0000 @@ -438,6 +438,8 @@ GIT_IP=`cat conf/gitd_ip` || exit 1 GIT_DOMAIN="git.$NICK.ano" + ./scripts/add_dom $NICK.ano $NICK $TINYDNS_DOMAIN/$TINYDNS_IP > /dev/null 2>&1 + if [ -w /etc/rc.local ]; then if [[ $(cat /etc/rc.local) != *"ip addr add $TINYDNS_ROOT_IP/32 dev lo &"* ]]; then echo "ip addr add $TINYDNS_ROOT_IP/32 dev lo &" >> /etc/rc.local