From ae6c75a7231916536aaadf02c90b13dd1271f802 Mon Sep 17 00:00:00 2001 From: Keith Whyte Date: Thu, 10 Jun 2021 06:57:48 +0200 Subject: [PATCH] No nitb shell function if no nitb --- modules/rhizo_base/templates/rccn-functions.sh.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/rhizo_base/templates/rccn-functions.sh.erb b/modules/rhizo_base/templates/rccn-functions.sh.erb index 9389726..e8e47e3 100644 --- a/modules/rhizo_base/templates/rccn-functions.sh.erb +++ b/modules/rhizo_base/templates/rccn-functions.sh.erb @@ -37,11 +37,11 @@ topcalls () { sleep $1 done } - +<% if @osmo_stack != "split" %> nitb() { /usr/bin/expect -c 'spawn telnet localhost 4242;send "enable\r";send "logging enable\r";send "logging level all everything\r";send "logging print category 1\r";send "logging level smpp fatal\r"; send "logging filter all 1\r"; interact' } - +<% end %> hlr() { sudo /usr/bin/sqlite3 -column -header $OSMO_HLR }