This is necessary due to IDSv4 changes introducing changes to fcrontab.
While this patch will cause any custom cron jobs configured there to be
lost, it is better to start with a defined state rather than sed'ing
on this file.
Cc: Michael Tremer <michael.tremer@ipfire.org>
Cc: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
var/ipfire/ids-functions.pl
var/ipfire/menu.d/20-status.menu
var/ipfire/menu.d/30-network.menu
+var/spool/cron/root.orig
# Repair any broken MDRAID arrays
/usr/local/bin/repair-mdraid
+# Rebuild fcrontab from scratch
+/usr/bin/fcrontab -z
+
# Start services
/etc/init.d/fcron restart
/etc/init.d/sshd restart