Commit 51d9fa9d authored by Franco Fichtner's avatar Franco Fichtner

rc: remove old captive portal rrd files on bootup

parent ec2f0434
...@@ -222,6 +222,10 @@ fi ...@@ -222,6 +222,10 @@ fi
# Execute the normal syshook / plugin commands # Execute the normal syshook / plugin commands
/usr/local/etc/rc.syshook start /usr/local/etc/rc.syshook start
# 16.1 migration code for stale captive portal files to be removed in 16.7
rm -rf /var/db/rrd/*-concurrent.rrd
rm -rf /var/db/rrd/*-loggedin.rrd
echo -n "Starting CRON... " echo -n "Starting CRON... "
cd /tmp && /usr/sbin/cron -s 2>/dev/null cd /tmp && /usr/sbin/cron -s 2>/dev/null
echo "done." echo "done."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment