Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-10 19:52:16 -06:00
parent 2d924d1548
commit 3c0b2cce6c

View File

@@ -15,6 +15,9 @@ source /opt/idssys/defaults/default.inc
source /opt/idssys/settings/nodemgmt.conf
source /opt/idssys/nodemgmt/defaults.inc
source /opt/idssys/nodemgmt/ssl-check.sh
# ========================================================= #
STATUS(){
@@ -629,7 +632,6 @@ LISTCERTS(){
CHECK-CERTS(){
# /opt/idssys/nodemgmt/ssl-cert-check.sh -f /opt/idssys/nodemgmt/ssldomains -a
SERVERFILE=/opt/idssys/nodemgmt/ssldomains
source /opt/idssys/nodemgmt/ssl-check.sh
print_heading
echo 'WTF'
@@ -1274,7 +1276,7 @@ if [ ${action-x} ]; then
newcert) NEWCERT ${2};;
certrenew) CERTRENEW;;
listcerts) LISTCERTS;;
checkcerts) CHECK-CERTS;echo 'ok';;
checkcerts) CHECK-CERTS;;
nightlyrenew) NIGHTLYRENEW;;
delsite) DELSITE ${2} ${3} ${4} ${5};;
delsites) DELSITES;;