annotate contrib/peer2anonet/configure @ 705:dc8f88270f6a draft

SpliceX update: pyinstall added
author d3v11 <d3v11@d3v11.ano>
date Sat, 29 Oct 2011 10:17:30 -0400
parents d76cc244e016
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
550
4964136d5043 peer2anonet: added configuration on install to create env variables. see README for details.
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
1 #!/bin/bash
4964136d5043 peer2anonet: added configuration on install to create env variables. see README for details.
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
2 read -p "Enter your anonet network: " P2A_NET
4964136d5043 peer2anonet: added configuration on install to create env variables. see README for details.
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
3 read -p "Enter your anonet router: " P2A_ROUTE
4964136d5043 peer2anonet: added configuration on install to create env variables. see README for details.
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
4 read -p "Enter your anonet asn: " P2A_ASN
4964136d5043 peer2anonet: added configuration on install to create env variables. see README for details.
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
5 read -p "Enter your anonet ip: " P2A_IP
4964136d5043 peer2anonet: added configuration on install to create env variables. see README for details.
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
6
668
d76cc244e016 Added "ping hack" to peer2anonet for users with dymanic IcannNet IP's
d3v11 <d3v11@d3v11.ano>
parents: 550
diff changeset
7 echo '' >/etc/peer2anonet/p2a.conf
d76cc244e016 Added "ping hack" to peer2anonet for users with dymanic IcannNet IP's
d3v11 <d3v11@d3v11.ano>
parents: 550
diff changeset
8
550
4964136d5043 peer2anonet: added configuration on install to create env variables. see README for details.
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
9 echo "P2A_NET=\"$P2A_NET\"" >>/etc/peer2anonet/p2a.conf
4964136d5043 peer2anonet: added configuration on install to create env variables. see README for details.
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
10 echo "P2A_ROUTE=\"$P2A_ROUTE\"" >>/etc/peer2anonet/p2a.conf
4964136d5043 peer2anonet: added configuration on install to create env variables. see README for details.
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
11 echo "P2A_ASN=\"$P2A_ASN\"" >>/etc/peer2anonet/p2a.conf
4964136d5043 peer2anonet: added configuration on install to create env variables. see README for details.
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
12 echo "P2A_IP=\"$P2A_IP\"" >>/etc/peer2anonet/p2a.conf