This commit is contained in:
2026-05-11 09:15:08 +02:00
parent 9bec2b9e42
commit 404ee3fec4
641 changed files with 416825 additions and 0 deletions
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
regex_pattern="^\s*ForwardToSyslog\s*=\s*no"
config_files=("/etc/systemd/journald.conf" "/etc/systemd/journald.conf.d/*")
for config_file in "${config_files[@]}"; do
for file in $config_file; do
if [[ -f "$file" ]]; then
if grep -qE "$regex_pattern" "$file"; then
exit 0
fi
fi
done
done
exit 1