summaryrefslogtreecommitdiff
path: root/contrib/peer2anonet/DEBIAN/configure
blob: 6a01c74ac9b6087fffbb249cfae227b3c530e8ff (plain) (blame)
1
2
3
4
5
6
7
8
9
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