From 1ed9361f77722cce54e473a7643aa33bd791883f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 25 Sep 2017 16:18:37 +0100 Subject: [PATCH] Check for versioned configuration --- src/freedombone-app-vpn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone-app-vpn b/src/freedombone-app-vpn index 08b4f86b..ef00b7dc 100755 --- a/src/freedombone-app-vpn +++ b/src/freedombone-app-vpn @@ -252,6 +252,10 @@ function install_vpn { cd /etc/openvpn/easy-rsa . ./vars ./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 echo '