Badhrinath | 987e1d8 | 2020-11-20 13:23:58 -0600 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | # Copyright 2020-present Open Networking Foundation |
| 4 | # |
| 5 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| 6 | |
| 7 | set -xe |
| 8 | |
| 9 | {{- if .Values.config.coreDump.enabled }} |
| 10 | cp /free5gc/nrf/nrf /tmp/coredump/ |
| 11 | {{- end }} |
| 12 | |
Badhrinath | 987e1d8 | 2020-11-20 13:23:58 -0600 | [diff] [blame] | 13 | cd /free5gc |
Hyunsun Moon | 6a65148 | 2021-02-26 01:46:44 -0800 | [diff] [blame] | 14 | cp /tmp/config/* config/ |
| 15 | sed -i "s/POD_IP/${POD_IP}/g" config/nrfcfg.conf |
| 16 | |
| 17 | cat config/free5GC.conf |
| 18 | cat config/nrfcfg.conf |
| 19 | |
| 20 | ./nrf/nrf -nrfcfg config/nrfcfg.conf |