From 44916de0b229a39cebe39a3272160cb0291f6388 Mon Sep 17 00:00:00 2001 From: d3v1150m471c Date: Wed, 13 Jul 2011 04:21:57 -0500 Subject: peer2anonet: added configuration on install to create env variables. see README for details. --- contrib/peer2anonet/DEBIAN/configure | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 contrib/peer2anonet/DEBIAN/configure (limited to 'contrib/peer2anonet/DEBIAN/configure') diff --git a/contrib/peer2anonet/DEBIAN/configure b/contrib/peer2anonet/DEBIAN/configure new file mode 100755 index 0000000..6a01c74 --- /dev/null +++ b/contrib/peer2anonet/DEBIAN/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\"" >>DEBIAN/peer2anonet/etc/peer2anonet/p2a.conf +echo "P2A_ROUTE=\"$P2A_ROUTE\"" >>DEBIAN/peer2anonet/etc/peer2anonet/p2a.conf +echo "P2A_ASN=\"$P2A_ASN\"" >>DEBIAN/peer2anonet/etc/peer2anonet/p2a.conf +echo "P2A_IP=\"$P2A_IP\"" >>DEBIAN/peer2anonet/etc/peer2anonet/p2a.conf -- cgit v1.2.3