Sanitize.sh now cleans the journal.
This commit is contained in:
@@ -72,5 +72,9 @@ fi
|
|||||||
echo "Syncing disks..."
|
echo "Syncing disks..."
|
||||||
sync
|
sync
|
||||||
|
|
||||||
|
# Clear the journal
|
||||||
|
journalctl --rotate
|
||||||
|
journalctl --vacuum-time=1s
|
||||||
|
|
||||||
echo "Cleanup complete. Ready for imaging."
|
echo "Cleanup complete. Ready for imaging."
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user