Remove obsolete function copy_data_to_pki()
Signed-off-by: Wharf in Ships Clothing <wiscii@protonmail.com>
This commit is contained in:
parent
821827028e
commit
b25d74e6b7
@ -676,7 +676,7 @@ install_data_to_pki () {
|
|||||||
if [ -e "${EASYRSA_PKI}/${source}" ]; then
|
if [ -e "${EASYRSA_PKI}/${source}" ]; then
|
||||||
continue
|
continue
|
||||||
else
|
else
|
||||||
copy_data_to_pki "${area}/${source}" || return
|
cp "${area}/${source}" "$EASYRSA_PKI" || return
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -729,12 +729,6 @@ install_data_to_pki () {
|
|||||||
[ -e "$EASYRSA_SAFE_CONF" ] || easyrsa_openssl makesafeconf
|
[ -e "$EASYRSA_SAFE_CONF" ] || easyrsa_openssl makesafeconf
|
||||||
} # => install_data_to_pki ()
|
} # => install_data_to_pki ()
|
||||||
|
|
||||||
# Copy the source to the PKI
|
|
||||||
copy_data_to_pki () {
|
|
||||||
cp "$1" "$EASYRSA_PKI" || return
|
|
||||||
shift
|
|
||||||
} # => copy_data_to_pki ()
|
|
||||||
|
|
||||||
# Disable terminal echo, if possible, otherwise warn
|
# Disable terminal echo, if possible, otherwise warn
|
||||||
hide_read_pass()
|
hide_read_pass()
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user