From 30366a211b1078f07c16bfff5e5967728072c5aa Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 29 Jan 2023 11:56:13 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index d34e210e..15d44092 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -866,12 +866,12 @@ LISTCERTS(){ unset IFS if [ ! -z ${LOCAL_SERVICES+x} ]; then NCMD="ssh root@${MYSQL_HOSTS[0]}" - ${NCMD} rm -f /tmp/ssllist - ${NCMD} 'for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done' > /tmp/ssllist + #${NCMD} rm -f /tmp/ssllist + #${NCMD} 'for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done' > /tmp/ssllist else NCMD='' rm -f /tmp/ssllist - for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done > /tmp/ssllist + #for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done > /tmp/ssllist fi if [ -z $action ] || [ "${action}" = "gui" ]; then DIVIDER true @@ -884,10 +884,12 @@ LISTCERTS(){ cw=30; c=0; spc2=''; until [ $c = ${cw} ]; do spc2="${spc2} "; c=`expr $c + 1`; done - for certdir in $(