From: Michael Tremer Date: Tue, 22 Dec 2015 10:26:27 +0000 (+0000) Subject: core96: Fix deleting the old ramdisk directory X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ff441e4d3fb96d71b4d547fb7b4ab65ef18a51bd;p=people%2Fms%2Fipfire-2.x.git core96: Fix deleting the old ramdisk directory Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/core/96/update.sh b/config/rootfiles/core/96/update.sh index a3cf5cfd9b..d724da2895 100644 --- a/config/rootfiles/core/96/update.sh +++ b/config/rootfiles/core/96/update.sh @@ -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"