Files
atap/ATAPAuditor/Helpers/ShellScripts/RHEL9_CIS2.0.0/1.5.4.sh
T
2026-05-11 09:15:08 +02:00

13 lines
202 B
Bash

#!/usr/bin/env bash
for file in /etc/systemd/coredump.conf /etc/systemd/coredump.conf.d/*.conf; do
[ -e "$file" ] || continue
if grep -Eq '^\s*Storage=none' "$file"; then
exit 0
fi
done
exit 1