osmith has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-dev/+/27443 )
Change subject: net/templates/run.sh: don't sleep .2 for tmux
......................................................................
net/templates/run.sh: don't sleep .2 for tmux
It doesn't seem necessary to do the "sleep .2" for tmux, so only do it
when starting with regular terminals.
Change-Id: I70931922aac56dad3d1e4dec67ca2b78d7cca7ff
---
M net/templates/run.sh
1 file changed, 1 insertion(+), 24 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/43/27443/1
diff --git a/net/templates/run.sh b/net/templates/run.sh
index 42b1eb4..cda7fc0 100755
--- a/net/templates/run.sh
+++ b/net/templates/run.sh
@@ -131,6 +131,7 @@
tmux new-window -d -n "$title" "$launcher &; echo \$! >
$pidfile_term; wait"
;;
*)
+ sleep .2
$terminal \
-title "CN:$title" \
-e sh -c "$launcher" \
@@ -226,50 +227,28 @@
term "$ggsn" GGSN
if [ "${STP_CN_IP}" = "${STP_RAN_IP}" ]; then
- sleep .2
term "$stp4cn" STP
else
- sleep .2
term "$stp4cn" STP4CN
-
- sleep .2
term "$stp4ran" STP4RAN
-
- sleep .2
term "$bscnat" BSCNAT
fi
-sleep .2
term "$hlr" HLR
-
-sleep .2
term "$sgsn" SGSN
-
-sleep .2
term "$gbproxy" GBPROXY
-
-sleep .2
term "$mgw4msc" MGW4MSC
-
-sleep .2
term "$msc" MSC
-
-sleep 2
term "$hnbgw" HNBGW
-sleep .2
if [ "$BSC_COUNT" = 1 ]; then
term "$mgw4bsc -c osmo-mgw-for-bsc-0.cfg" MGW4BSC
- sleep .2
term "$bsc -c osmo-bsc-0.cfg" BSC
else
term "$mgw4bsc -c osmo-mgw-for-bsc-0.cfg" MGW4BSC0
- sleep .2
term "$mgw4bsc -c osmo-mgw-for-bsc-1.cfg" MGW4BSC1
- sleep .2
term "$bsc -c osmo-bsc-0.cfg" BSC0
- sleep .2
term "$bsc -c osmo-bsc-1.cfg" BSC1
fi
@@ -281,10 +260,8 @@
if [ "x${MSC_MNCC}" != "xinternal" ]; then
- sleep .2
term "$sipcon" SIPCON
- sleep .2
case "${PBX_SERVER}" in
"kamailio")
term "$kamailio" KAMAILIO
--
To view, visit
https://gerrit.osmocom.org/c/osmo-dev/+/27443
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I70931922aac56dad3d1e4dec67ca2b78d7cca7ff
Gerrit-Change-Number: 27443
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange