blob: d3205ead95e0ae1a84e6b36c149a9845d0508ca5 [file] [log] [blame]
#!/bin/sh
# Copyright 2020-present Open Networking Foundation
#
# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
set -xe
{{- if .Values.config.coreDump.enabled }}
cp /free5gc/nrf/nrf /tmp/coredump/
{{- end }}
cd /free5gc
cp /tmp/config/* config/
sed -i "s/POD_IP/${POD_IP}/g" config/nrfcfg.conf
cat config/free5GC.conf
cat config/nrfcfg.conf
./nrf/nrf -nrfcfg config/nrfcfg.conf