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

View File

@ -32,6 +32,10 @@ FILES=(
"ccd" "ccd"
) )
if [ -f "${OPENVPN}/pki/crl.pem" ]; then
FILES+=("pki/crl.pem")
fi
# Ensure the ccd directory exists, even if empty # Ensure the ccd directory exists, even if empty
mkdir -p "ccd" mkdir -p "ccd"