aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/start-sim
diff options
context:
space:
mode:
Diffstat (limited to 'start-sim')
-rwxr-xr-xstart-sim6
1 files changed, 5 insertions, 1 deletions
diff --git a/start-sim b/start-sim
index 3313f57..dbb1beb 100755
--- a/start-sim
+++ b/start-sim
@@ -44,7 +44,11 @@ else
44 SUDO="sudo -Hu opensim" 44 SUDO="sudo -Hu opensim"
45fi 45fi
46 46
47# Would be nice if this worked.
48export MONO_PATH=${bindir}
49# Then we would not have to do this, and subsequently write all over the damn bin directory.
47cd ${bindir} 50cd ${bindir}
51
48if [ "x$Screaming" = "xtrue" ] 52if [ "x$Screaming" = "xtrue" ]
49then 53then
50 if ($screen_check | grep -q ${console_name}); then 54 if ($screen_check | grep -q ${console_name}); then
@@ -63,7 +67,7 @@ else
63fi 67fi
64 68
65inidir=/opt/opensim/config/${tgt} 69inidir=/opt/opensim/config/${tgt}
66cmd="/usr/bin/mono ${exe}.exe -inidirectory=${inidir} -logconfig=${inidir}/${exe}.exe.config $NeedARest" 70cmd="/usr/bin/mono ${bindir}/${exe}.exe -inidirectory=${inidir} -logconfig=${inidir}/${exe}.exe.config $NeedARest"
67title=$(head -n 1 ${inidir}/Regions/sim.ini ) 71title=$(head -n 1 ${inidir}/Regions/sim.ini )
68 72
69# Check if it's already running. 73# Check if it's already running.