Vijaya Tiruveedula | a5a871a | 2023-01-20 09:59:52 +0000 | [diff] [blame] | 1 | #!/bin/bash |
badhri85 | 4c028b3 | 2021-11-03 18:24:05 -0500 | [diff] [blame] | 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 | |
Vijaya Tiruveedula | a5a871a | 2023-01-20 09:59:52 +0000 | [diff] [blame] | 9 | IMGPATH={{ .Values.config.imagePath }} |
badhri85 | 4c028b3 | 2021-11-03 18:24:05 -0500 | [diff] [blame] | 10 | {{- if .Values.config.coreDump.enabled }} |
Ajay Thakur | b0028b6 | 2022-02-04 17:47:29 +0000 | [diff] [blame] | 11 | cp /free5gc/smf/smf /tmp/coredump/ |
badhri85 | 4c028b3 | 2021-11-03 18:24:05 -0500 | [diff] [blame] | 12 | {{- end }} |
| 13 | |
Vijaya Tiruveedula | a5a871a | 2023-01-20 09:59:52 +0000 | [diff] [blame] | 14 | cd $IMGPATH |
badhri85 | 4c028b3 | 2021-11-03 18:24:05 -0500 | [diff] [blame] | 15 | |
| 16 | cat config/smfcfg.conf |
| 17 | cat uerouting/uerouting.conf |
| 18 | |
Vijaya Tiruveedula | a5a871a | 2023-01-20 09:59:52 +0000 | [diff] [blame] | 19 | #GOTRACEBACK=crash ./smf/smf -smfcfg config/smfcfg.conf -uerouting uerouting/uerouting.conf |