mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 10:35:53 +02:00
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:
committed by
Peter Müller
parent
c965daf6da
commit
233baacd67
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user