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

[tor-commits] [torperf/master] Fix annoying formatting in example start script.



commit add8b1f470562ab958294789c62987f6f4ae6698
Author: Mike Perry <mikeperry-git@xxxxxxxxxx>
Date:   Wed Feb 23 00:28:12 2011 -0800

    Fix annoying formatting in example start script.
    
    Bonus commit! ;)
---
 example_start-tors_fastslow.txt |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/example_start-tors_fastslow.txt b/example_start-tors_fastslow.txt
index 2226cb0..4887868 100755
--- a/example_start-tors_fastslow.txt
+++ b/example_start-tors_fastslow.txt
@@ -8,14 +8,14 @@ mkdir -p regular50kb regular1mb regular5mb
 BASEPORT=9000
 SIZENUM=0
 for SIZE in 50kb 1mb 5mb; do
-SPEEDNUM=0
-let SIZENUM=10+$SIZENUM
-for SPEED in slow slowratio regular fast fastratio; do
-let SPEEDNUM=1+$SPEEDNUM
-let PORT=$BASEPORT+$SIZENUM+$SPEEDNUM
-let CONTROLPORT=1000+$PORT
-cd ~/torperf/$SPEED$SIZE
-cat <<EOF >torrc
+  SPEEDNUM=0
+  let SIZENUM=10+$SIZENUM
+  for SPEED in slow slowratio regular fast fastratio; do
+    let SPEEDNUM=1+$SPEEDNUM
+    let PORT=$BASEPORT+$SIZENUM+$SPEEDNUM
+    let CONTROLPORT=1000+$PORT
+    cd ~/torperf/$SPEED$SIZE
+    cat <<EOF >torrc
 DataDirectory .
 SocksPort $PORT
 MaxCircuitDirtiness 1 minute
@@ -24,7 +24,7 @@ Log notice file log
 ControlPort $CONTROLPORT
 CookieAuthentication 1
 EOF
-done
+  done
 done
 
 cd ~/torperf/slow50kb && tor -f ~/torperf/slow50kb/torrc



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