osmith submitted this change.
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(-)
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
To view, visit change 33460. To unsubscribe, or for help writing mail filters, visit settings.