diff --git a/test.sh b/test.sh index ab95a9d..ca861a6 100755 --- a/test.sh +++ b/test.sh @@ -19,6 +19,15 @@ if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remot exit 0 fi -toterrtime=`date +%s`-$(stat -c %Y /opt/idssys/nodemgmt/10.5.10.53-haproxy.down) -#show_time ${toterrtime} -echo "has been down for $(SHOW_TIME ${toterrtime})" + + + +IFS=$'\n' +for LINE in `egrep -v '(^#|^$)' ${FOLDER}/ssl-cert-check/ssldomains` +do + HOST=${LINE%% *} + PORT=${LINE#* } + IFS=" " + echo "${HOST} - ${PORT}" +done +unset IFS