Update nodemgmt-scripts.sh

This commit is contained in:
2022-10-15 23:13:48 -05:00
parent f826bc6306
commit 57d9803a3f

View File

@@ -791,6 +791,7 @@ LISTCERTS_NPM(){
echo ""
}
COPYCERTS_NPM(){
declare -i cw; declare -i spc1; declare -i c
if [ ! -z ${LOCAL_SERVICES+x} ]; then
NCMD="ssh root@${MYSQL_HOSTS[0]}"
@@ -808,7 +809,9 @@ COPYCERTS_NPM(){
for certdir in $(</tmp/ssllist); do
SUBJECT=$(${NCMD} openssl x509 -in ${certdir}cert.pem -noout -subject|grep -oP '(?<=CN = )[^,]+'|sort -uV)
if [ -L ${my_link} ]; then
fi
done
echo
if [ -z $action ] || [ "${action}" = "gui" ]; then