summaryrefslogtreecommitdiff
path: root/contrib/peer2anonet/configure
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/peer2anonet/configure')
-rwxr-xr-xcontrib/peer2anonet/configure10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/peer2anonet/configure b/contrib/peer2anonet/configure
new file mode 100755
index 0000000..25aae90
--- /dev/null
+++ b/contrib/peer2anonet/configure
@@ -0,0 +1,10 @@
+#!/bin/bash
+read -p "Enter your anonet network: " P2A_NET
+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 "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
+echo "P2A_IP=\"$P2A_IP\"" >>/etc/peer2anonet/p2a.conf