blob: 9d5bcf6492a9ca5e3f3c4726eb6e8474ecb16020 [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/smf/smf /tmp/coredump/
{{- end }}
cd /free5gc
cp /tmp/config/* config/
sed -i "s/POD_IP/${POD_IP}/g" config/smfcfg.conf
cat config/free5GC.conf
cat config/smfcfg.conf
cat config/uerouting.conf
./smf/smf -smfcfg config/smfcfg.conf -uerouting config/uerouting.conf