diff options
author | David Walter Seikel | 2016-11-08 23:07:51 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-11-08 23:07:51 +1000 |
commit | 1587abd970e7153a42a0b4752452712110c4c73a (patch) | |
tree | 6e20a254a5d3cef7166b58e4cad0228704feffba | |
parent | Install script links properly. (diff) | |
download | opensim-SC-1587abd970e7153a42a0b4752452712110c4c73a.zip opensim-SC-1587abd970e7153a42a0b4752452712110c4c73a.tar.gz opensim-SC-1587abd970e7153a42a0b4752452712110c4c73a.tar.bz2 opensim-SC-1587abd970e7153a42a0b4752452712110c4c73a.tar.xz |
Keep the password a secret.
-rwxr-xr-x | scripts/start-sim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/start-sim b/scripts/start-sim index cd28b43..ed2b07f 100755 --- a/scripts/start-sim +++ b/scripts/start-sim | |||
@@ -98,6 +98,8 @@ case $(basename $0) in | |||
98 | then | 98 | then |
99 | if [ "x$tgt" = "xROBUST" ]; then | 99 | if [ "x$tgt" = "xROBUST" ]; then |
100 | $SUDO cat ../config/config.ini ../config/Robust.ini.template >../config/Robust.ini | 100 | $SUDO cat ../config/config.ini ../config/Robust.ini.template >../config/Robust.ini |
101 | $SUDO chown -R opensim:opensim ../config/Robust.ini | ||
102 | $SUDO chmod 600 ../config/Robust.ini | ||
101 | ${tmux_command} split-window -vp 30 -t "${tmux_session}:" "${cmd}" | 103 | ${tmux_command} split-window -vp 30 -t "${tmux_session}:" "${cmd}" |
102 | else | 104 | else |
103 | ${tmux_command} new-window -dn "[${title}]" -t "${tmux_session}:${num}" "${cmd}" | 105 | ${tmux_command} new-window -dn "[${title}]" -t "${tmux_session}:${num}" "${cmd}" |