net/templates/run.sh: change prefix from CN to NET

osmo-dev's net scripts can be used to run components from RAN too, so
change the title prefix and tmux session name from CN to NET.

Change-Id: I3f46d5a4c7bd20861735c4e01f7cafbc5db08aae
changes/59/27459/1
Oliver Smith 11 months ago
parent ef92c180d7
commit bf20106d4e
  1. 4
      net/templates/run.sh

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# tmux: start this script inside a new session
tmux_session="CN"
tmux_session="NET"
if [ "${TERMINAL}" = "tmux" ] && [ "$1" != "inside-tmux" ]; then
echo "Starting tmux session '$tmux_session'"
unset TMUX
@ -145,7 +145,7 @@ EOF
*)
sleep .2
$terminal \
-title "CN:$title" \
-title "NET:$title" \
-e sh -c "$launcher" \
&

Loading…
Cancel
Save