summaryrefslogtreecommitdiff
path: root/contrib/peer2anonet/configure
diff options
context:
space:
mode:
authord3v11 <d3v11@d3v11.ano>2011-10-09 17:53:29 -0500
committerd3v11 <d3v11@d3v11.ano>2011-10-09 17:53:29 -0500
commit93e8c0914d35aee41cb35998d2a33290653e2675 (patch)
treed83a67216cd1384201c5fcd0238edcd9af6a745f /contrib/peer2anonet/configure
parentdcdcb8927b73efe56d2b834b6b24eeaecd7b4840 (diff)
downloadresdb-93e8c0914d35aee41cb35998d2a33290653e2675.tar.gz
resdb-93e8c0914d35aee41cb35998d2a33290653e2675.zip
Added "ping hack" to peer2anonet for users with dymanic IcannNet IP's
Diffstat (limited to 'contrib/peer2anonet/configure')
-rwxr-xr-xcontrib/peer2anonet/configure2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/peer2anonet/configure b/contrib/peer2anonet/configure
index 25aae90..d9a574d 100755
--- a/contrib/peer2anonet/configure
+++ b/contrib/peer2anonet/configure
@@ -4,6 +4,8 @@ read -p "Enter your anonet router: " P2A_ROUTE
read -p "Enter your anonet asn: " P2A_ASN
read -p "Enter your anonet ip: " P2A_IP
+echo '' >/etc/peer2anonet/p2a.conf
+
echo "P2A_NET=\"$P2A_NET\"" >>/etc/peer2anonet/p2a.conf
echo "P2A_ROUTE=\"$P2A_ROUTE\"" >>/etc/peer2anonet/p2a.conf
echo "P2A_ASN=\"$P2A_ASN\"" >>/etc/peer2anonet/p2a.conf