From: Michael Tremer Date: Fri, 7 Oct 2022 14:50:16 +0000 (+0000) Subject: backup: Update OpenVPN CRL X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=233baacd6753d8adb756219d5fac536d9b6f92ae;p=people%2Fms%2Fipfire-2.x.git 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 --- 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 }