diff options
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/peer2anonet/peer2anonet | 8 |
1 files 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 ( |