From 9f0810c78cd3b9333ccc6488fed0d3265e9871c2 Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sun, 29 Jan 2012 01:18:19 +0000 Subject: bugfixes --- contrib/peer2anonet/peer2anonet | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet index e9ab2df..c0b496b 100755 --- a/contrib/peer2anonet/peer2anonet +++ b/contrib/peer2anonet/peer2anonet @@ -386,16 +386,16 @@ SETUP_QMAIL(){ MX_IP=`cat conf/gitd_ip` || exit 1 MX_DOMAIN="a.mx.$NICK.ano" || exit 1 - echo "@$NICK.ano:$MX_IP:a:12801:86400">>/services/tinydns/root/data || - echo ' fatal error: needs ./contrib/peer2anonet/peer2anonet --configure-dns' && - exit 1 - if [ -e /services/tinydns ]; then ( cd /services echo "creating /etc/peer2anonet/tinydns.tar backup" tar cf /etc/peer2anonet/tinydns.tar tinydns + echo "@$NICK.ano:$MX_IP:a:12801:86400">>/services/tinydns/root/data ) + else + echo ' fatal error: needs ./contrib/peer2anonet/peer2anonet --configure-dns' && + exit 1 fi ( -- cgit v1.2.3