From 92d96dcfde8cbb17eba1e67d4006f4626eea2b10 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 17 Jul 2025 01:53:22 -0400 Subject: [PATCH] Sanitize.sh now cleans the journal. --- root/sanitize.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/root/sanitize.sh b/root/sanitize.sh index d1d3cc6..4a1ca54 100644 --- a/root/sanitize.sh +++ b/root/sanitize.sh @@ -72,5 +72,9 @@ fi echo "Syncing disks..." sync +# Clear the journal +journalctl --rotate +journalctl --vacuum-time=1s + echo "Cleanup complete. Ready for imaging." exit 0