From 2cb37d34f3c36176cc94e608c1b6a1de6e03ada3 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 11 Feb 2019 11:32:39 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index ca339eeb..4ded2b3d 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -580,13 +580,12 @@ NIGHTLYRENEW(){ LISTCERTS(){ if [ ! -z ${LOCAL_SERVICES+x} ]; then NCMD='ssh root@10.5.10.51' - ${NCMD} 'for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done' > /tmp/remotessl - # for line in $( /tmp/ssllist else NCMD='' - for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done > /tmp/remotessl + rm -f /tmp/ssllist + for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done > /tmp/ssllist fi if [ -z $action ] || [ "${action}" = "gui" ]; then DIVIDER true @@ -597,10 +596,7 @@ LISTCERTS(){ echo -e "Subject Name Expires Alternate Subjects" DIVIDER - - - # for certdir in /etc/letsencrypt/live/*/ ; do - for certdir in $(