diff --git a/bench.sh b/bench.sh index fd90951e..595a6acc 100755 --- a/bench.sh +++ b/bench.sh @@ -69,7 +69,7 @@ if ! "${SKIP_CONFIG}" ; then ./bin/network_config.pl -g "${GROUP}" on ( cd /etc/ngcp-config || true - ngcpcfg apply "k-c-t ${GROUP} on" + ngcpcfg --summary-only apply "k-c-t ${GROUP} on" ) fi @@ -101,6 +101,6 @@ if ! "${SKIP_CONFIG}" ; then ./bin/network_config.pl -g"${GROUP}" off ( cd /etc/ngcp-config || true - ngcpcfg apply "k-c-t ${GROUP} off" + ngcpcfg --summary-only apply "k-c-t ${GROUP} off" ) -fi \ No newline at end of file +fi diff --git a/set_config.sh b/set_config.sh index d58903d2..c90638f4 100755 --- a/set_config.sh +++ b/set_config.sh @@ -35,7 +35,7 @@ echo "$(date) - Setting config debug on" echo "$(date) - Setting network config" "${BIN_DIR}/network_config.pl" -g "${GROUP}" on cd /etc/ngcp-config || exit 3 -if ! ngcpcfg apply "config debug on via kamailio-config-tests" ; then +if ! ngcpcfg --summary-only apply "config debug on via kamailio-config-tests" ; then echo "$(date) - ngcpcfg apply returned $?" error_flag=4 fi