summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authord3v11 <d3v11@d3v11.ano>2012-01-29 01:18:19 +0000
committerd3v11 <d3v11@d3v11.ano>2012-01-29 01:18:19 +0000
commit9f0810c78cd3b9333ccc6488fed0d3265e9871c2 (patch)
tree9da696aa1b8562ba6d4808cf658ab4992953a0a7 /contrib
parentef4e4deca9736b5497f3c5767f666c3904e168df (diff)
downloadresdb-9f0810c78cd3b9333ccc6488fed0d3265e9871c2.tar.gz
resdb-9f0810c78cd3b9333ccc6488fed0d3265e9871c2.zip
bugfixes
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/peer2anonet/peer2anonet8
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
(