Update certs.inc
This commit is contained in:
@@ -184,17 +184,17 @@ LISTCERTS(){
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
declare -i cw; declare -i spc1; declare -i c
|
declare -i cw; declare -i spc1; declare -i c
|
||||||
if [ -f ${NM_FOLDER}/conf/ssl-domain-checks.conf ]; then
|
# if [ -f ${NM_FOLDER}/conf/ssl-domain-checks.conf ]; then
|
||||||
declare -A CHECKCERT_DOMAINS
|
# declare -A CHECKCERT_DOMAINS
|
||||||
IFS=$'\n'
|
# IFS=$'\n'
|
||||||
for LINE in `egrep -v '(^#|^$)' ${NM_FOLDER}/conf/ssl-domain-checks.conf`; do
|
# for LINE in `egrep -v '(^#|^$)' ${NM_FOLDER}/conf/ssl-domain-checks.conf`; do
|
||||||
HOST=${LINE%% *}
|
# HOST=${LINE%% *}
|
||||||
PORT=${LINE#* }
|
# PORT=${LINE#* }
|
||||||
IFS=" "
|
# IFS=" "
|
||||||
CHECKCERT_DOMAINS[${HOST}]=${PORT}
|
# CHECKCERT_DOMAINS[${HOST}]=${PORT}
|
||||||
done
|
# done
|
||||||
unset IFS
|
# unset IFS
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
# if [ ! -z ${LOCAL_SERVICES+x} ]; then
|
# if [ ! -z ${LOCAL_SERVICES+x} ]; then
|
||||||
# NCMD="ssh root@${NM_HOSTS['LB'][0]}"
|
# NCMD="ssh root@${NM_HOSTS['LB'][0]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user