diff options
author | d3v1150m471c <d3v11@d3v1150m471c.ano> | 2011-07-13 04:21:57 -0500 |
---|---|---|
committer | d3v1150m471c <d3v11@d3v1150m471c.ano> | 2011-07-13 04:21:57 -0500 |
commit | 44916de0b229a39cebe39a3272160cb0291f6388 (patch) | |
tree | 0ff7a7089708f7498f94f6007a79602005150d3e /contrib/peer2anonet/DEBIAN/configure | |
parent | 90449a38a3307a0cee261c38c75dad99029f6ab0 (diff) | |
download | resdb-44916de0b229a39cebe39a3272160cb0291f6388.tar.gz resdb-44916de0b229a39cebe39a3272160cb0291f6388.zip |
peer2anonet: added configuration on install to create env variables. see README for details.
Diffstat (limited to 'contrib/peer2anonet/DEBIAN/configure')
-rwxr-xr-x | contrib/peer2anonet/DEBIAN/configure | 10 |
1 files changed, 10 insertions, 0 deletions
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 |