diff options
author | David Walter Seikel | 2011-11-27 19:31:33 +1000 |
---|---|---|
committer | David Walter Seikel | 2011-11-27 19:31:33 +1000 |
commit | d8b6646a004060edf073b96065fdbb979baa2f68 (patch) | |
tree | 4f8d9af35f9758037cca167d255eaecb8e02c97e /start-sim | |
parent | Rename the start up script. (diff) | |
download | IGnoble-d8b6646a004060edf073b96065fdbb979baa2f68.zip IGnoble-d8b6646a004060edf073b96065fdbb979baa2f68.tar.gz IGnoble-d8b6646a004060edf073b96065fdbb979baa2f68.tar.bz2 IGnoble-d8b6646a004060edf073b96065fdbb979baa2f68.tar.xz |
Trying to make things safer for upgrades and some general tweaks.
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. |