Update auto_post_install.sh

This commit is contained in:
MacRimi
2025-10-21 13:57:32 +02:00
committed by GitHub
parent 4d50339041
commit e86196999a

View File

@@ -965,7 +965,7 @@ EOF
sed -i '/^\[Journal\]/,$d' /etc/systemd/journald.conf 2>/dev/null || true sed -i '/^\[Journal\]/,$d' /etc/systemd/journald.conf 2>/dev/null || true
tee -a /etc/systemd/journald.conf >/dev/null <<EOF cat >> /etc/systemd/journald.conf <<EOF
[Journal] [Journal]
Storage=persistent Storage=persistent
SplitMode=none SplitMode=none
@@ -985,6 +985,7 @@ MaxLevelConsole=notice
MaxLevelWall=crit MaxLevelWall=crit
EOF EOF
systemctl restart systemd-journald >/dev/null 2>&1 || true systemctl restart systemd-journald >/dev/null 2>&1 || true
msg_ok "$(translate "Backup created:") /etc/systemd/journald.conf.bak.$(date +%Y%m%d-%H%M%S)" msg_ok "$(translate "Backup created:") /etc/systemd/journald.conf.bak.$(date +%Y%m%d-%H%M%S)"
msg_ok "$(translate "Journald configuration adjusted to") ${USE_MB}M (Log2RAM ${LOG2RAM_SIZE})" msg_ok "$(translate "Journald configuration adjusted to") ${USE_MB}M (Log2RAM ${LOG2RAM_SIZE})"