diff options
author | MW | 2008-12-11 14:31:58 +0000 |
---|---|---|
committer | MW | 2008-12-11 14:31:58 +0000 |
commit | fa28d1ab7de3e2b384b76f922f1801e82f513abf (patch) | |
tree | f40c5a502260495662df37278859db360ac6b329 /OpenSim/Region | |
parent | Update svn properties, minor formatting cleanup. (diff) | |
download | opensim-SC-fa28d1ab7de3e2b384b76f922f1801e82f513abf.zip opensim-SC-fa28d1ab7de3e2b384b76f922f1801e82f513abf.tar.gz opensim-SC-fa28d1ab7de3e2b384b76f922f1801e82f513abf.tar.bz2 opensim-SC-fa28d1ab7de3e2b384b76f922f1801e82f513abf.tar.xz |
Reimplemented running of ShutdownCommandFile. Mantis #2800
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index acbf67c..6cb0586 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -129,6 +129,15 @@ namespace OpenSim | |||
129 | ChangeSelectedRegion(new string[] {"root"}); | 129 | ChangeSelectedRegion(new string[] {"root"}); |
130 | } | 130 | } |
131 | 131 | ||
132 | public override void ShutdownSpecific() | ||
133 | { | ||
134 | if (m_shutdownCommandsFile != String.Empty) | ||
135 | { | ||
136 | RunCommandScript(m_shutdownCommandsFile); | ||
137 | } | ||
138 | base.ShutdownSpecific(); | ||
139 | } | ||
140 | |||
132 | private void RunAutoTimerScript(object sender, EventArgs e) | 141 | private void RunAutoTimerScript(object sender, EventArgs e) |
133 | { | 142 | { |
134 | if (m_timedScript != "disabled") | 143 | if (m_timedScript != "disabled") |