Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-11 11:24:13 -06:00
parent 9628299145
commit 558cb53aba

View File

@@ -580,10 +580,10 @@ 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" > log
for line in $(<log); do
echo "HERE: ${line}"
done
${NCMD} "for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done"
# for line in $(<log); do
# echo "HERE: ${line}"
# done
else
NCMD=''
fi