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 <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2022-10-07 14:50:16 +00:00
committed by Peter Müller
parent c965daf6da
commit 233baacd67

View File

@@ -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
}