diff options
author | onefang | 2020-04-20 19:44:42 +1000 |
---|---|---|
committer | onefang | 2020-04-20 19:44:42 +1000 |
commit | a7642e85e9606d3afb5dc45fc33c9e9e16bb54af (patch) | |
tree | 187236939be816b8f85421613575852311667a84 | |
parent | Fix up name validation. (diff) | |
download | opensim-SC-a7642e85e9606d3afb5dc45fc33c9e9e16bb54af.zip opensim-SC-a7642e85e9606d3afb5dc45fc33c9e9e16bb54af.tar.gz opensim-SC-a7642e85e9606d3afb5dc45fc33c9e9e16bb54af.tar.bz2 opensim-SC-a7642e85e9606d3afb5dc45fc33c9e9e16bb54af.tar.xz |
Update the old bash scripts for the new stuff.
-rwxr-xr-x | scripts/show-console | 2 | ||||
-rwxr-xr-x | scripts/start-sim | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/show-console b/scripts/show-console index e7fb941..44fbcf1 100755 --- a/scripts/show-console +++ b/scripts/show-console | |||
@@ -1,3 +1,3 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | tmux -S ../../caches/opensim-tmux.socket select-window -t "OpenSimSC" \; attach-session -t "OpenSimSC" | 3 | tmux -S ../../caches/opensim-tmux.socket select-window -t "SledjChisl" \; attach-session -t "SledjChisl" |
diff --git a/scripts/start-sim b/scripts/start-sim index 48c530a..0a58294 100755 --- a/scripts/start-sim +++ b/scripts/start-sim | |||
@@ -4,8 +4,8 @@ source common.sh | |||
4 | getPrgDir | 4 | getPrgDir |
5 | 5 | ||
6 | USER=$(whoami) | 6 | USER=$(whoami) |
7 | console_name="OpenSimSC" | 7 | console_name="SledjChisl" |
8 | tmux_command="tmux -S ${PRGDIR}/../../caches/opensim-tmux.socket" | 8 | tmux_command="tmux -S ${PRGDIR}/../../var/run/opensim-tmux.socket" |
9 | tmux_session=${console_name} | 9 | tmux_session=${console_name} |
10 | tmux_window="${tmux_command} select-window -t ${tmux_session}" | 10 | tmux_window="${tmux_command} select-window -t ${tmux_session}" |
11 | tmux_send="${tmux_command} send-keys -t ${tmux_session}" | 11 | tmux_send="${tmux_command} send-keys -t ${tmux_session}" |