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