build_key-pass.sh: change name of 'ta.key' and 'ca.cert'.

This commit is contained in:
Christoph 2022-08-17 16:02:12 +02:00
parent be54626b2a
commit 7ac86350aa
2 changed files with 5 additions and 2 deletions

View File

@ -800,11 +800,11 @@ if $_copy_to_user_home_dir ; then
if [[ $? -ne 0 ]] ; then if [[ $? -ne 0 ]] ; then
_failed=true _failed=true
fi fi
cp -a "${_CA_CERT}" "${_target_dir}" >> $log_file 2>&1 cp -a "${_CA_CERT}" "${_target_dir}/VPN-${ORG_SHORTCUT}-$(basename ${_CA_CERT})" >> $log_file 2>&1
if [[ $? -ne 0 ]] ; then if [[ $? -ne 0 ]] ; then
_failed=true _failed=true
fi fi
cp -a "${_TA_KEY}" "${_target_dir}" >> $log_file 2>&1 cp -a "${_TA_KEY}" "${_target_dir}/VPN-${ORG_SHORTCUT}-$(basename ${_TA_KEY})" >> $log_file 2>&1
if [[ $? -ne 0 ]] ; then if [[ $? -ne 0 ]] ; then
_failed=true _failed=true
fi fi

View File

@ -676,6 +676,9 @@ fi
if [[ $? -ne 0 ]] ; then if [[ $? -ne 0 ]] ; then
_failed=true _failed=true
fi fi
# - For historical reasons
# -
cp -a "$_client_conf_file" "${_target_dir}/client-$(basename $_client_conf_file)" >> $log_file 2>&1 cp -a "$_client_conf_file" "${_target_dir}/client-$(basename $_client_conf_file)" >> $log_file 2>&1
if [[ $? -ne 0 ]] ; then if [[ $? -ne 0 ]] ; then
_failed=true _failed=true