Print core_pattern in all entrypoint scripts
This commit is contained in:
@@ -5,6 +5,9 @@ set -uo pipefail
|
|||||||
PREFIX=/opt/oai-enb
|
PREFIX=/opt/oai-enb
|
||||||
CONFIGFILE=$PREFIX/etc/enb.conf
|
CONFIGFILE=$PREFIX/etc/enb.conf
|
||||||
|
|
||||||
|
echo "=================================="
|
||||||
|
echo "/proc/sys/kernel/core_pattern=$(cat /proc/sys/kernel/core_pattern)"
|
||||||
|
|
||||||
if [ ! -f $CONFIGFILE ]; then
|
if [ ! -f $CONFIGFILE ]; then
|
||||||
echo "No configuration file found: please mount at $CONFIGFILE"
|
echo "No configuration file found: please mount at $CONFIGFILE"
|
||||||
exit 255
|
exit 255
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ set -uo pipefail
|
|||||||
PREFIX=/opt/oai-gnb-aw2s
|
PREFIX=/opt/oai-gnb-aw2s
|
||||||
CONFIGFILE=$PREFIX/etc/gnb.conf
|
CONFIGFILE=$PREFIX/etc/gnb.conf
|
||||||
|
|
||||||
|
echo "=================================="
|
||||||
|
echo "/proc/sys/kernel/core_pattern=$(cat /proc/sys/kernel/core_pattern)"
|
||||||
|
|
||||||
if [ ! -f $CONFIGFILE ]; then
|
if [ ! -f $CONFIGFILE ]; then
|
||||||
echo "No configuration file found: please mount at $CONFIGFILE"
|
echo "No configuration file found: please mount at $CONFIGFILE"
|
||||||
exit 255
|
exit 255
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ set -uo pipefail
|
|||||||
PREFIX=/opt/oai-gnb
|
PREFIX=/opt/oai-gnb
|
||||||
CONFIGFILE=$PREFIX/etc/gnb.conf
|
CONFIGFILE=$PREFIX/etc/gnb.conf
|
||||||
|
|
||||||
|
echo "=================================="
|
||||||
|
echo "/proc/sys/kernel/core_pattern=$(cat /proc/sys/kernel/core_pattern)"
|
||||||
|
|
||||||
if [ ! -f $CONFIGFILE ]; then
|
if [ ! -f $CONFIGFILE ]; then
|
||||||
echo "No configuration file found: please mount at $CONFIGFILE"
|
echo "No configuration file found: please mount at $CONFIGFILE"
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ set -uo pipefail
|
|||||||
PREFIX=/opt/oai-lte-ru
|
PREFIX=/opt/oai-lte-ru
|
||||||
CONFIGFILE=$PREFIX/etc/rru.conf
|
CONFIGFILE=$PREFIX/etc/rru.conf
|
||||||
|
|
||||||
|
echo "=================================="
|
||||||
|
echo "/proc/sys/kernel/core_pattern=$(cat /proc/sys/kernel/core_pattern)"
|
||||||
|
|
||||||
if [ ! -f $CONFIGFILE ]; then
|
if [ ! -f $CONFIGFILE ]; then
|
||||||
echo "No configuration file found: please mount at $CONFIGFILE"
|
echo "No configuration file found: please mount at $CONFIGFILE"
|
||||||
exit 255
|
exit 255
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ set -uo pipefail
|
|||||||
PREFIX=/opt/oai-lte-ue
|
PREFIX=/opt/oai-lte-ue
|
||||||
USIM_CONFIGFILE=$PREFIX/etc/ue_usim.conf
|
USIM_CONFIGFILE=$PREFIX/etc/ue_usim.conf
|
||||||
|
|
||||||
|
echo "=================================="
|
||||||
|
echo "/proc/sys/kernel/core_pattern=$(cat /proc/sys/kernel/core_pattern)"
|
||||||
|
|
||||||
if [ ! -f $USIM_CONFIGFILE ]; then
|
if [ ! -f $USIM_CONFIGFILE ]; then
|
||||||
echo "No ue_usim.conf configuration file found: please mount at $USIM_CONFIGFILE"
|
echo "No ue_usim.conf configuration file found: please mount at $USIM_CONFIGFILE"
|
||||||
exit 255
|
exit 255
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ set -uo pipefail
|
|||||||
PREFIX=/opt/oai-nr-ue
|
PREFIX=/opt/oai-nr-ue
|
||||||
CONFIGFILE=$PREFIX/etc/nr-ue.conf
|
CONFIGFILE=$PREFIX/etc/nr-ue.conf
|
||||||
|
|
||||||
|
echo "=================================="
|
||||||
|
echo "/proc/sys/kernel/core_pattern=$(cat /proc/sys/kernel/core_pattern)"
|
||||||
|
|
||||||
if [ ! -f $CONFIGFILE ]; then
|
if [ ! -f $CONFIGFILE ]; then
|
||||||
echo "No configuration file found: please mount at $CONFIGFILE"
|
echo "No configuration file found: please mount at $CONFIGFILE"
|
||||||
exit 255
|
exit 255
|
||||||
|
|||||||
Reference in New Issue
Block a user