badhri85 | 4c028b3 | 2021-11-03 18:24:05 -0500 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | # Copyright 2020-present Open Networking Foundation |
| 4 | # |
Ajay Lotan Thakur | 03189d2 | 2022-02-10 14:06:03 -0600 | [diff] [blame] | 5 | # SPDX-License-Identifier: Apache-2.0 |
badhri85 | 4c028b3 | 2021-11-03 18:24:05 -0500 | [diff] [blame] | 6 | |
| 7 | set -xe |
| 8 | |
| 9 | {{- if .Values.config.coreDump.enabled }} |
Ajay Thakur | b0028b6 | 2022-02-04 17:47:29 +0000 | [diff] [blame] | 10 | cp /free5gc/smf/smf /tmp/coredump/ |
badhri85 | 4c028b3 | 2021-11-03 18:24:05 -0500 | [diff] [blame] | 11 | {{- end }} |
| 12 | |
Ajay Thakur | b0028b6 | 2022-02-04 17:47:29 +0000 | [diff] [blame] | 13 | cd /free5gc |
badhri85 | 4c028b3 | 2021-11-03 18:24:05 -0500 | [diff] [blame] | 14 | |
| 15 | cat config/smfcfg.conf |
| 16 | cat uerouting/uerouting.conf |
| 17 | |
| 18 | GOTRACEBACK=crash ./smf/smf -smfcfg config/smfcfg.conf -uerouting uerouting/uerouting.conf |