Fixed: supporting a previous log2ram version again

This commit is contained in:
Nathan Huizinga 2017-12-11 08:55:38 +01:00
parent 1ffd89c70e
commit 0e76e8d655
1 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,11 @@ then
cp log2ram.hourly /etc/cron.hourly/log2ram
chmod +x /etc/cron.hourly/log2ram
# Remove a previous log2ram version
if [ -d /var/log.hdd]; then
rm -r /var/log.hdd
fi
if [ -d /var/hdd.log ]; then
rm -r /var/hdd.log
fi