From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 1/2] backup: Update OpenVPN CRL Date: Fri, 07 Oct 2022 14:50:16 +0000 Message-ID: <20221007145017.4096212-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2888152474869165904==" List-Id: --===============2888152474869165904== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable After a backup is restored, the CRL might be out of data and client won't be able to connect to the server any more. This will immediately update the CRL should it require an update. Signed-off-by: Michael Tremer --- config/backup/backup.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/backup/backup.pl b/config/backup/backup.pl index 54957a814..6fd9e45bb 100644 --- a/config/backup/backup.pl +++ b/config/backup/backup.pl @@ -184,6 +184,9 @@ restore_backup() { # move nobeeps if exist [ -e "/var/ipfire/ppp/nobeeps" ] && mv /var/ipfire/ppp/nobeeps /var/ipfire/= red/nobeeps =20 + # Update OpenVPN CRL + /etc/fcron.daily/openvpn-crl-updater + return 0 } =20 --=20 2.30.2 --===============2888152474869165904==--