From 233baacd6753d8adb756219d5fac536d9b6f92ae Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 7 Oct 2022 14:50:16 +0000 Subject: [PATCH] backup: Update OpenVPN CRL 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 54957a814b..6fd9e45bb1 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 + # Update OpenVPN CRL + /etc/fcron.daily/openvpn-crl-updater + return 0 } -- 2.39.5