]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
backup: Update OpenVPN CRL
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 7 Oct 2022 14:50:16 +0000 (14:50 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Mon, 24 Oct 2022 09:06:16 +0000 (09:06 +0000)
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>
config/backup/backup.pl

index 54957a814bb0c3a19fc52809ac2bc2bb16d38b6f..6fd9e45bb1f5e4f517d52a82732236b1986ab7a7 100644 (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
 }