bin: copy_server_files: Backup crl.pem
* Back-up the crl.pem file if present. * Closes #198
This commit is contained in:
parent
14d6f7f491
commit
093fc9fafc
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user