You've already forked clear-journal-log
tested on ubuntu 24.04
This commit is contained in:
@@ -22,4 +22,4 @@ Nothing to do.
|
|||||||
More guides can be found on [\[wiki.x-files.dk\]](https://wiki.x-files.dk)
|
More guides can be found on [\[wiki.x-files.dk\]](https://wiki.x-files.dk)
|
||||||
|
|
||||||
### Last tested
|
### Last tested
|
||||||
January 12th 2024 on Ubuntu 22.04.
|
November 8th 2024 on Ubuntu 24.04.
|
||||||
|
@@ -30,7 +30,7 @@ script="
|
|||||||
#
|
#
|
||||||
# Define variables and functions
|
# Define variables and functions
|
||||||
#
|
#
|
||||||
logfile=\"/var/log/cleanupjournal.log\"
|
logfile=\"/var/log/clear-journal.log\"
|
||||||
line () { for i in {1..100}; do echo -n \"\$1\"; done && printf \"\\n\"; }
|
line () { for i in {1..100}; do echo -n \"\$1\"; done && printf \"\\n\"; }
|
||||||
datenow=\$(date +\"%d-%m-%Y %H:%M\")
|
datenow=\$(date +\"%d-%m-%Y %H:%M\")
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user