[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-cloud/master] Normal bridge vs private bridge



commit 86c46ca484b2f3977ad71b53ed5b2f9e5fdf5acc
Author: Runa A. Sandvik <runa.sandvik@xxxxxxxxx>
Date:   Mon Feb 27 21:38:05 2012 +0000

    Normal bridge vs private bridge
---
 ec2-prep.sh |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ec2-prep.sh b/ec2-prep.sh
index a886cb9..92c7b46 100644
--- a/ec2-prep.sh
+++ b/ec2-prep.sh
@@ -259,6 +259,8 @@ AccountingMax 10 GB
 # so it shouldn't expose the operator to abuse complaints.
 ExitPolicy reject *:*
 EOF
+echo "Done configuring the system, will reboot"
+echo "Your system has been configured as a Tor bridge, see https://cloud.torproject.org/ for more info" > /etc/ec2-prep.sh
 fi
 
 if [ $CONFIG == "privatebridge" ]; then
@@ -296,12 +298,12 @@ AccountingMax 10 GB
 # so it shouldn't expose the operator to abuse complaints.
 ExitPolicy reject *:*
 EOF
+echo "Done configuring the system, will reboot"
+echo "Your system has been configured as a private Tor bridge, see https://cloud.torproject.org/ for more info" > /etc/ec2-prep.sh
 fi
 
 # XXX TODO
 # Generally, we'll want to rm /var/lib/tor/* and remove all state from the system
 #
 # We're done; tell the user and then reboot the system
-echo "Done configuring the system, will reboot"
-echo "Your system has been configured as a Tor bridge, see https://cloud.torproject.org/ for more info" > /etc/ec2-prep.sh
 reboot

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits