# HG changeset patch # User d3v11 # Date 1324426878 0 # Node ID 8b706576b3f426a4de7eee73a677593b1caa2a84 # Parent 3750fcc21c33d05b61f8cedfff3aa0cf5b5f1030 forced exit 1 for --configure-dns if someone didn't configure their tinydns data first. diff -r 3750fcc21c33 -r 8b706576b3f4 contrib/peer2anonet/peer2anonet --- a/contrib/peer2anonet/peer2anonet Wed Dec 21 00:10:44 2011 +0000 +++ b/contrib/peer2anonet/peer2anonet Wed Dec 21 00:21:18 2011 +0000 @@ -413,14 +413,14 @@ ) echo -e '\nCONFIGURE DNS:\n' - NICK=`cat conf/git_name` - TINYDNS_ROOT_IP=`cat conf/tinydns__rootsrvrip` - TINYDNS_ROOT_DOMAIN=`cat conf/tinydns__rootsrvrname` - TINYDNS_ANO_IP=`cat conf/tinydns__tldsrvrip` - TINYDNS_ANO_DOMAIN=`cat conf/tinydns__tldsrvrname` - TINYDNS_IP=`cat conf/tinydns__srvrip` - TINYDNS_DOMAIN=`cat conf/tinydns__srvrname` - GIT_IP=`cat conf/gitd_ip` + NICK=`cat conf/git_name` || exit 1 + TINYDNS_ROOT_IP=`cat conf/tinydns__rootsrvrip` || exit 1 + TINYDNS_ROOT_DOMAIN=`cat conf/tinydns__rootsrvrname` || exit 1 + TINYDNS_ANO_IP=`cat conf/tinydns__tldsrvrip` || exit 1 + TINYDNS_ANO_DOMAIN=`cat conf/tinydns__tldsrvrname` || exit 1 + TINYDNS_IP=`cat conf/tinydns__srvrip` || exit 1 + TINYDNS_DOMAIN=`cat conf/tinydns__srvrname` || exit 1 + GIT_IP=`cat conf/gitd_ip` || exit 1 GIT_DOMAIN="git.$NICK.ano" ip addr add $TINYDNS_ROOT_IP/32 dev lo > /dev/null 2>&1