X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fopensim%2Fopensim_utils.sh;h=3985411f1c34c5192e7242924c886a2d8f8a779c;hb=efdd0611b7c22bbd7b337130ecb44918f9d429a1;hp=c92ffbf97bdb2bbf9177c63102785fb2c3904729;hpb=dc3165969e52aa3eb5179c9164aa410658972121;p=feisty_meow.git diff --git a/scripts/opensim/opensim_utils.sh b/scripts/opensim/opensim_utils.sh index c92ffbf9..3985411f 100644 --- a/scripts/opensim/opensim_utils.sh +++ b/scripts/opensim/opensim_utils.sh @@ -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=7 +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