Update Installer.sh

Removed all logs after install to prevent Log2Ram from nagging
This commit is contained in:
Beeranco 2023-08-14 03:35:58 +02:00 committed by GitHub
parent 267cf79785
commit 0d5e8c0cae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,6 +249,7 @@ sed -i -e 's/SIZE=128M/SIZE=256M/g' /etc/log2ram.conf
sed -i -e 's/MAIL=true/MAIL=false/g' /etc/log2ram.conf
journalctl --vacuum-size=32M
systemctl restart systemd-journald
rm -rf /var/log/*
sed -i -e 's/# CPU_DEFAULT_GOVERNOR="ondemand"/CPU_DEFAULT_GOVERNOR="conservative"/g' /etc/default/cpu_governor