diff --git a/install.sh b/install.sh index 04e15c6..6b8af03 100644 --- a/install.sh +++ b/install.sh @@ -11,6 +11,10 @@ then systemctl enable log2ram cp log2ram.hourly /etc/cron.hourly/log2ram chmod +x /etc/cron.hourly/log2ram + + if [ -d /var/log.hdd ]; then + rm -r /var/log.hdd + fi echo "##### Reboot to activate log2ram #####" else