mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-13 12:32:59 +02:00
core96: Fix deleting the old ramdisk directory
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user