From 093fc9fafcb10522c3cbd436b7da280dcaee744e Mon Sep 17 00:00:00 2001 From: Kyle Manna Date: Thu, 5 Jan 2017 07:56:54 -0800 Subject: [PATCH] bin: copy_server_files: Backup crl.pem * Back-up the crl.pem file if present. * Closes #198 --- bin/ovpn_copy_server_files | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/ovpn_copy_server_files b/bin/ovpn_copy_server_files index 49df414..b99f54c 100755 --- a/bin/ovpn_copy_server_files +++ b/bin/ovpn_copy_server_files @@ -32,6 +32,10 @@ FILES=( "ccd" ) +if [ -f "${OPENVPN}/pki/crl.pem" ]; then + FILES+=("pki/crl.pem") +fi + # Ensure the ccd directory exists, even if empty mkdir -p "ccd"