osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-dev/+/27457 )


Change subject: net/templates/run: one variable for stp4cn/stp4ran
......................................................................

net/templates/run: one variable for stp4cn/stp4ran

Make it consistent with osmo-mgw and osmo-bsc where we also have more
than one config, and the config is not part of the variable.

Change-Id: I83301d75814070c29c6362c59fade9044aa2c0cc
---
M net/templates/run.sh
1 file changed, 4 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/57/27457/1

diff --git a/net/templates/run.sh b/net/templates/run.sh
index 1b4bcdd..a73f645 100755
--- a/net/templates/run.sh
+++ b/net/templates/run.sh
@@ -199,8 +199,7 @@
 #mgw="strace osmo-mgw"
 mgw="osmo-mgw"
 hlr="LD_LIBRARY_PATH=/usr/local/lib gdb -ex run --args osmo-hlr --db-upgrade"
-stp4cn="osmo-stp -c osmo-stp-cn.cfg"
-stp4ran="osmo-stp -c osmo-stp-ran.cfg"
+stp="osmo-stp"
 bsc="LD_LIBRARY_PATH=/usr/local/lib gdb -ex run --args osmo-bsc"
 bscnat="osmo-bsc-nat"
 bts="osmo-bts-virtual"
@@ -250,10 +249,10 @@
 term "$ggsn" GGSN

 if [ "${STP_CN_IP}" = "${STP_RAN_IP}" ]; then
-  term "$stp4cn" STP
+  term "$stp -c osmo-stp-cn.cfg" STP
 else
-  term "$stp4cn" STP4CN
-  term "$stp4ran" STP4RAN
+  term "$stp -c osmo-stp-cn.cfg" STP4CN
+  term "$stp -c osmo-stp-ran.cfg" STP4RAN
   term "$mgw -c osmo-mgw-for-bsc-nat.cfg" MGW4BSCNAT
   term "$bscnat" BSCNAT
 fi

--
To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/27457
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I83301d75814070c29c6362c59fade9044aa2c0cc
Gerrit-Change-Number: 27457
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-MessageType: newchange

Reply via email to