Core Update 168: Ship fcrontab and rebuild it from scratch

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>
This commit is contained in:
Peter Müller 2022-06-04 08:43:15 +00:00
parent de5896985c
commit 4a4fc8f19a
2 changed files with 4 additions and 0 deletions

View File

@ -403,3 +403,4 @@ var/ipfire/header.pl
var/ipfire/ids-functions.pl
var/ipfire/menu.d/20-status.menu
var/ipfire/menu.d/30-network.menu
var/spool/cron/root.orig

View File

@ -128,6 +128,9 @@ fi
# 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