osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-dev/+/33460 )
Change subject: net/templates/run.sh: fix BSC_COUNT check ......................................................................
net/templates/run.sh: fix BSC_COUNT check
Use ${BSC_COUNT} instead of $BSC_COUNT, as otherwise the template code doesn't replace the variable. Without this patch it always went into the else code path.
Change-Id: I2b880a8da51f96c16fb56d9d6e3994ecc1b47ae7 --- M net/templates/run.sh 1 file changed, 14 insertions(+), 1 deletion(-)
Approvals: pespin: Looks good to me, but someone else must approve fixeria: Looks good to me, approved osmith: Verified
diff --git a/net/templates/run.sh b/net/templates/run.sh index 1954cfb..d4edbaa 100755 --- a/net/templates/run.sh +++ b/net/templates/run.sh @@ -244,7 +244,7 @@ term "${CMD_HNBGW}" HNBGW
-if [ "$BSC_COUNT" = 1 ]; then +if [ "${BSC_COUNT}" = 1 ]; then term "${CMD_MGW} -c osmo-mgw-for-bsc-0.cfg" MGW4BSC term "${CMD_BSC} -c osmo-bsc-0.cfg" BSC else