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