1
0
mirror of https://github.com/azlux/log2ram.git synced 2023-10-10 13:37:24 +02:00

Remove old folder

This commit is contained in:
azlux 2017-10-02 20:48:02 +02:00 committed by GitHub
parent b7c725f47d
commit a31ba4927f

View File

@ -12,6 +12,10 @@ then
cp log2ram.hourly /etc/cron.hourly/log2ram cp log2ram.hourly /etc/cron.hourly/log2ram
chmod +x /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 #####" echo "##### Reboot to activate log2ram #####"
else else
echo "You need to be ROOT (sudo can be used)" echo "You need to be ROOT (sudo can be used)"