blob: 9d5bcf6492a9ca5e3f3c4726eb6e8474ecb16020 [file] [log] [blame]
Badhrinath987e1d82020-11-20 13:23:58 -06001#!/bin/sh
2
3# Copyright 2020-present Open Networking Foundation
4#
5# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
6
7set -xe
8
9{{- if .Values.config.coreDump.enabled }}
10cp /free5gc/smf/smf /tmp/coredump/
11{{- end }}
12
Badhrinath987e1d82020-11-20 13:23:58 -060013cd /free5gc
Hyunsun Moon6a651482021-02-26 01:46:44 -080014cp /tmp/config/* config/
15sed -i "s/POD_IP/${POD_IP}/g" config/smfcfg.conf
16
17cat config/free5GC.conf
18cat config/smfcfg.conf
19cat config/uerouting.conf
20
21./smf/smf -smfcfg config/smfcfg.conf -uerouting config/uerouting.conf