Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user