From 189323defdd430148302bd95ae35a1e2d85449ab Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 29 Jan 2023 09:24:25 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index c6fc9a49..3b3f7e73 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1004,8 +1004,6 @@ LISTCERTS_NPM(){ } COPYCERTS_NPM(){ ssldir='/opt/nginx-proxy/ssl' - for certdir in /opt/nginx-proxy/letsencrypt/live/*/ ; do echo $certdir; done > /tmp/ssllist - for certdir in ${ssldir}/*/ ; do echo $certdir; done > /tmp/ssldirlist if [ "${1}" = "reset" ]; then echo "Resetting ... Deleting all SSL symlink folders" @@ -1023,19 +1021,16 @@ COPYCERTS_NPM(){ if [ -z $action ] || [ "${action}" = "gui" ]; then DIVIDER true fi - - for certdir in $(