updated through august statement uva credit union, also adjusted old crunk out of...
[feisty_meow.git] / scripts / opensim / opensim_utils.sh
index 1f45262348a0df81649f422af977828216c01e98..3985411f1c34c5192e7242924c886a2d8f8a779c 100644 (file)
@@ -17,7 +17,7 @@ export LANG=C
 
 # this is used as a process startup snooze, to avoid running a dependent
 # process before the dependency has really started.
-export SNOOZE_TIME=11
+export SNOOZE_TIME=6
 
 # lock the limit in for threads, so we don't have any getting out of control.
 # also make sure we've provided enough space for each thread.
@@ -40,7 +40,10 @@ function launch_screen()
 ##why? --debug 
 #-console=basic 
   echo "$(date_stringer ' '): $screen_name started."
-  sleep $SNOOZE_TIME
+  # only sleep if we are not at the last process that gets started.
+  if [ "$app_name" != "OpenSim.exe" ]; then
+    sleep $SNOOZE_TIME
+  fi
 }
 
 # finds the opensim process specified or returns a blank string in the