From edf7fe9e8dce091a66dc36c6c7c3ff46a0f281eb Mon Sep 17 00:00:00 2001 From: Andrea Lacava Date: Mon, 9 Jan 2023 20:07:57 +0100 Subject: [PATCH] Remove of RIC_INTERFACE lines that may be the cause of unexpected crash in e2term --- setup-scripts/setup-ric-bronze.sh | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/setup-scripts/setup-ric-bronze.sh b/setup-scripts/setup-ric-bronze.sh index 0da2572..04fe206 100755 --- a/setup-scripts/setup-ric-bronze.sh +++ b/setup-scripts/setup-ric-bronze.sh @@ -14,17 +14,6 @@ do esac done -# get RIC interface from cli arguments -if [ $# -eq 0 ] || [ "$import" = false ] ; then - RIC_INTERFACE="col0" -else - if [ "$arena" = true ]; then - RIC_INTERFACE="brric" - else - RIC_INTERFACE=$1 - fi -fi - export SRC=`dirname $0` . $SRC/setup-lib.sh @@ -175,9 +164,6 @@ EOF fi E2TERM_CONFIG_BIND="--mount type=bind,source=$E2TERMCONFFILE,destination=/opt/e2/config/config.conf,ro" -export RIC_IP=`ifconfig ${RIC_INTERFACE} | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*'` - - if [ "$arena" = true ]; then echo 'Starting local setup' # if both RIC and DU are executed on the same machine, do not set Docker NAT rules