core96: Fix deleting the old ramdisk directory

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2015-12-22 10:26:27 +00:00
parent df00a3f1cd
commit ff441e4d3f

View File

@@ -40,7 +40,7 @@ qosctrl stop
if [ -d "/var/log/rrd.bak" ]; then
# Umount ramdisk
umount -l "/var/log/rrd"
rm -f "/var/log/rrd"
rm -rf "/var/log/rrd"
mv "/var/log/rrd.bak/vnstat" "/var/log/vnstat"
mv "/var/log/rrd.bak" "/var/log/rrd"