[tor-commits] [tor-cloud/master] Reboot at the right time and it should work

runa at torproject.org runa at torproject.org
Wed Feb 29 10:19:20 UTC 2012


commit 2a0c53b077bbe14116023bdf950fbca626fecbb4
Author: Runa A. Sandvik <runa.sandvik at gmail.com>
Date:   Wed Feb 29 10:19:11 2012 +0000

    Reboot at the right time and it should work
---
 ec2-prep.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ec2-prep.sh b/ec2-prep.sh
index 84249f0..0cad70c 100644
--- a/ec2-prep.sh
+++ b/ec2-prep.sh
@@ -261,6 +261,7 @@ 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
+reboot
 fi
 
 if [ $CONFIG == "privatebridge" ]; then
@@ -298,10 +299,11 @@ 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
+reboot
 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
-reboot
+#reboot



More information about the tor-commits mailing list