Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-11 11:30:05 -06:00
parent dcad3b4355
commit fdf471db8c

View File

@@ -580,14 +580,14 @@ 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/remotessl); do
# echo "HERE: ${line}"
# done
else
NCMD=''
for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done > /tmp/remotessl
fi
${NCMD} 'for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done' > /tmp/remotessl
if [ -z $action ] || [ "${action}" = "gui" ]; then
DIVIDER true
fi