view contrib/peer2anonet/configure @ 668:d76cc244e016 draft

Added "ping hack" to peer2anonet for users with dymanic IcannNet IP's
author d3v11 <d3v11@d3v11.ano>
date Sun, 09 Oct 2011 17:53:29 -0500
parents 4964136d5043
children
line wrap: on
line source

#!/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 '' >/etc/peer2anonet/p2a.conf

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