bin: copy_server_files: Backup crl.pem

* Back-up the crl.pem file if present.
* Closes #198
This commit is contained in:
Kyle Manna 2017-01-05 07:56:54 -08:00
parent 14d6f7f491
commit 093fc9fafc
1 changed files with 4 additions and 0 deletions

View File

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