Browse Source

enable defining other ports in a file #11

pull/9/merge
srvrco 9 years ago
parent
commit
b204283304
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      checkssl

+ 3
- 1
checkssl View File

@ -38,10 +38,11 @@
# 2016-10-25 allow muttiple different services to be checked (1.08)
# 2016-10-25 bug fix of missing REMOTE_EXTRA (1.09)
# 2016-10-25 set defaults to REMOTE_EXTRA to none (1.10)
# 2016-10-28 enable defining other ports in a file #11 (1.11)
# ---------------------------------------------------------------------------
PROGNAME=${0##*/}
VERSION="1.10"
VERSION="1.11"
ORIGCMD="$0 $*"
UPDATE_LOCATION="https://raw.githubusercontent.com/srvrco/checkssl/master/checkssl"
@ -340,6 +341,7 @@ while IFS= read -r LINE; do
xmpp | 5222 ) PORT=5222; REMOTE_EXTRA="-starttls xmpp" ;;
xmpps | 5269 ) PORT=5269; REMOTE_EXTRA="" ;;
ldaps | 636 ) PORT=636; REMOTE_EXTRA="" ;;
* ) PORT=$PS; REMOTE_EXTRA="" ;;
esac
# DOMAIN=${DOMAIN// /}


Loading…
Cancel
Save