Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user