aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2022-03-08 10:30:52 +0100
committerOliver Smith <osmith@sysmocom.de>2022-03-08 10:34:42 +0100
commitbf20106d4ea5ba570a80ad65c08d7a33f13d1bec (patch)
tree292f5cf1791efcb810928659061fb1de462e39b7
parentef92c180d794aed092ac626f3d3eca39fc896e5c (diff)
net/templates/run.sh: change prefix from CN to NETosmith/bscnat
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
-rwxr-xr-xnet/templates/run.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/templates/run.sh b/net/templates/run.sh
index a7b0f9a..6b8a324 100755
--- a/net/templates/run.sh
+++ b/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" \
&