comparison contrib/peer2anonet/configure @ 550:4964136d5043 draft

peer2anonet: added configuration on install to create env variables. see README for details.
author d3v1150m471c <d3v11@d3v1150m471c.ano>
date Wed, 13 Jul 2011 04:21:57 -0500
parents
children d76cc244e016
comparison
equal deleted inserted replaced
549:5b5b29f8d8c7 550:4964136d5043
1 #!/bin/bash
2 read -p "Enter your anonet network: " P2A_NET
3 read -p "Enter your anonet router: " P2A_ROUTE
4 read -p "Enter your anonet asn: " P2A_ASN
5 read -p "Enter your anonet ip: " P2A_IP
6
7 echo "P2A_NET=\"$P2A_NET\"" >>/etc/peer2anonet/p2a.conf
8 echo "P2A_ROUTE=\"$P2A_ROUTE\"" >>/etc/peer2anonet/p2a.conf
9 echo "P2A_ASN=\"$P2A_ASN\"" >>/etc/peer2anonet/p2a.conf
10 echo "P2A_IP=\"$P2A_IP\"" >>/etc/peer2anonet/p2a.conf