Update nodemgmt-scripts.sh
This commit is contained in:
@@ -580,14 +580,14 @@ NIGHTLYRENEW(){
|
|||||||
LISTCERTS(){
|
LISTCERTS(){
|
||||||
if [ ! -z ${LOCAL_SERVICES+x} ]; then
|
if [ ! -z ${LOCAL_SERVICES+x} ]; then
|
||||||
NCMD='ssh root@10.5.10.51'
|
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
|
# for line in $(</tmp/remotessl); do
|
||||||
# echo "HERE: ${line}"
|
# echo "HERE: ${line}"
|
||||||
# done
|
# done
|
||||||
else
|
else
|
||||||
NCMD=''
|
NCMD=''
|
||||||
|
for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done > /tmp/remotessl
|
||||||
fi
|
fi
|
||||||
${NCMD} 'for certdir in /etc/letsencrypt/live/*/ ; do echo $certdir; done' > /tmp/remotessl
|
|
||||||
|
|
||||||
if [ -z $action ] || [ "${action}" = "gui" ]; then
|
if [ -z $action ] || [ "${action}" = "gui" ]; then
|
||||||
DIVIDER true
|
DIVIDER true
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user