From d9571d86fd42ba89f8a7f38361129563b5203231 Mon Sep 17 00:00:00 2001 From: Christoph Date: Thu, 25 Apr 2019 13:34:23 +0200 Subject: [PATCH] Add another configuration file usage by by linux network-manager-openvpn. --- create_key_config.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/create_key_config.sh b/create_key_config.sh index a05e084..cbba5e2 100755 --- a/create_key_config.sh +++ b/create_key_config.sh @@ -597,6 +597,10 @@ cp -a "${OPENVPN_BASE_DIR}/keys/${NEW_KEY_NAME}.key" "${target_dir}/${KEY_CN}-${ if [[ $? -ne 0 ]] ; then _failed=true fi +cp -a "$_client_conf_file" "${target_dir}/${KEY_CN}-${NEW_KEY_NAME}/${OPENVPN_NAME^^} ${NEW_KEY_NAME}.conf" +if [[ $? -ne 0 ]] ; then + _failed=true +fi cp -a "$_client_conf_file" "${target_dir}/${KEY_CN}-${NEW_KEY_NAME}/client-$(basename $_client_conf_file)" if [[ $? -ne 0 ]] ; then _failed=true