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:
parent
b7c725f47d
commit
a31ba4927f
@ -11,6 +11,10 @@ then
|
|||||||
systemctl enable log2ram
|
systemctl enable log2ram
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user