Improve informational output: 'init-pki' completed

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
Richard T Bonhomme 2022-04-12 20:50:55 +01:00
parent 079aedda73
commit c18d7f2bf0
No known key found for this signature in database
GPG Key ID: 2D767DB92FB6C246

View File

@ -331,6 +331,7 @@ Type the word '$value' to continue, or any other input to abort."
printf %s " $prompt" printf %s " $prompt"
#shellcheck disable=SC2162 #shellcheck disable=SC2162
read input read input
printf '\n'
[ "$input" = "$value" ] && return [ "$input" = "$value" ] && return
notice "Aborting without confirmation." notice "Aborting without confirmation."
exit 9 exit 9
@ -591,13 +592,14 @@ and initialize a fresh PKI here."
die "init-pki failed to create safe SSL conf: $EASYRSA_SAFE_CONF" die "init-pki failed to create safe SSL conf: $EASYRSA_SAFE_CONF"
fi fi
notice "\ notice "
init-pki complete; you may now create a CA or requests.
Your newly created PKI dir is:
* $EASYRSA_PKI"
notice "* Easy-RSA 'vars' file has now been moved to your PKI above." init-pki complete; you may now create a CA or requests.
return 0
Your newly created PKI dir is:
* $EASYRSA_PKI
IMPORTANT: Easy-RSA 'vars' file has now been moved to your PKI above."
} # => init_pki() } # => init_pki()
# Copy data-files from various sources # Copy data-files from various sources