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
@ -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)"
|
||||||
|
Loading…
Reference in New Issue
Block a user