From 21c14e928eec7982a1f60f385c229f6488c681d1 Mon Sep 17 00:00:00 2001 From: Ciaby Date: Mon, 16 Feb 2015 14:52:19 -0600 Subject: [PATCH] Fix variable check in osmo-nitb.cfg template --- .../rhizomatica_base_system/templates/osmo-nitb.cfg.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/rhizomatica_base_system/templates/osmo-nitb.cfg.erb b/modules/rhizomatica_base_system/templates/osmo-nitb.cfg.erb index 3dc0969..68f409f 100644 --- a/modules/rhizomatica_base_system/templates/osmo-nitb.cfg.erb +++ b/modules/rhizomatica_base_system/templates/osmo-nitb.cfg.erb @@ -183,7 +183,7 @@ network timeslot 7 phys_chan_config TCH/F hopping enabled 0 -<% if @bts2_ip_address %> +<% if not @bts2_ip_address.nil? -%> bts 2 type sysmobts band GSM850 @@ -288,8 +288,8 @@ network timeslot 7 phys_chan_config TCH/F hopping enabled 0 -<% end %> -<% if @bts3_ip_address %> +<% end -%> +<% if not @bts3_ip_address.nil? %> bts 4 type sysmobts band GSM850 @@ -394,7 +394,7 @@ network timeslot 7 phys_chan_config TCH/F hopping enabled 0 -<% end %> +<% end -%> mncc-int default-codec tch-f fr default-codec tch-h hr