blob: 45a6712ea557f74265e1a70633ead55d5bf90dbc [file] [log] [blame]
badhri854c028b32021-11-03 18:24:05 -05001#!/bin/sh
2
3# Copyright 2020-present Open Networking Foundation
4#
Ajay Lotan Thakur03189d22022-02-10 14:06:03 -06005# SPDX-License-Identifier: Apache-2.0
badhri854c028b32021-11-03 18:24:05 -05006
7set -xe
8
Ajay Thakurb0028b62022-02-04 17:47:29 +00009IMGPATH={{ .Values.config.imagePath }}
badhri854c028b32021-11-03 18:24:05 -050010{{- if .Values.config.coreDump.enabled }}
Ajay Thakurb0028b62022-02-04 17:47:29 +000011cp $IMGPATH/amf/amf /tmp/coredump/
badhri854c028b32021-11-03 18:24:05 -050012{{- end }}
13
Ajay Thakurb0028b62022-02-04 17:47:29 +000014cd $IMGPATH
badhri854c028b32021-11-03 18:24:05 -050015cat config/amfcfg.conf
16
17GOTRACEBACK=crash ./amf/amf -amfcfg config/amfcfg.conf