From a31ba4927ff91a7c1f4b5ddefd6d987f67eb1dff Mon Sep 17 00:00:00 2001 From: azlux Date: Mon, 2 Oct 2017 20:48:02 +0200 Subject: [PATCH] Remove old folder --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) 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