aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xstart-sim4
1 files changed, 2 insertions, 2 deletions
diff --git a/start-sim b/start-sim
index ea77553..12c8f8f 100755
--- a/start-sim
+++ b/start-sim
@@ -86,11 +86,11 @@ case $(basename $0) in
86 "backup-sim") 86 "backup-sim")
87 # Substitute underscores for spaces in the title, then add the full date and time to create the OAR file name. 87 # Substitute underscores for spaces in the title, then add the full date and time to create the OAR file name.
88 cmd="save oar ${inidir}/../../backups/${title// /_}-$(date '+%F_%T').oar" 88 cmd="save oar ${inidir}/../../backups/${title// /_}-$(date '+%F_%T').oar"
89 sudo -Hu opensim screen -r opensim/OpenSim_console -p "[${title}]" -X stuff "${cmd}$(/bin/echo -ne '\015')" 89 $SUDO screen -r opensim/OpenSim_console -p "[${title}]" -X stuff "${cmd}$(/bin/echo -ne '\015')"
90 ;; 90 ;;
91 91
92 "stop-sim") 92 "stop-sim")
93 sudo -Hu opensim screen -r opensim/OpenSim_console -p "[${title}]" -X stuff "shutdown$(/bin/echo -ne '\015')" 93 $SUDO screen -r opensim/OpenSim_console -p "[${title}]" -X stuff "shutdown$(/bin/echo -ne '\015')"
94 ;; 94 ;;
95esac 95esac
96 96