Print core_pattern in all entrypoint scripts

This commit is contained in:
Robert Schmidt
2024-03-04 15:12:41 +01:00
parent c99db698ce
commit ebe1b711ac
6 changed files with 17 additions and 0 deletions
+3
View File
@@ -5,6 +5,9 @@ set -uo pipefail
PREFIX=/opt/oai-enb
CONFIGFILE=$PREFIX/etc/enb.conf
echo "=================================="
echo "/proc/sys/kernel/core_pattern=$(cat /proc/sys/kernel/core_pattern)"
if [ ! -f $CONFIGFILE ]; then
echo "No configuration file found: please mount at $CONFIGFILE"
exit 255