Check for versioned configuration

This commit is contained in:
Bob Mottram 2017-09-25 16:18:37 +01:00
parent 26d3d9dcd3
commit 1ed9361f77
1 changed files with 4 additions and 0 deletions

View File

@ -252,6 +252,10 @@ function install_vpn {
cd /etc/openvpn/easy-rsa cd /etc/openvpn/easy-rsa
. ./vars . ./vars
./clean-all ./clean-all
if [ ! -f openssl-1.0.0.cnf ]; then
echo $'openssl-1.0.0.cnf was not found'
exit 7392353
fi
cp openssl-1.0.0.cnf openssl.cnf cp openssl-1.0.0.cnf openssl.cnf
echo ' echo '