Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion domain-check-2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
# Last Updated: 07-Jan-2019
#
# Revision History:
# Version 2.19
# Added support for .systems/.network/.run/.rocks/.win/.tel -- https://github.com/abhisheknair
#
# Version 2.18
# Added support for .pro/.mx/.ro/.aero/.asia/.cc/.college domain -- Vivek Gite <github.com/nixcraft>
Expand Down Expand Up @@ -393,7 +395,7 @@ check_domain_status()

# The whois Expiration data should resemble the following: "Expiration Date: 09-may-2008"

if [ "${TLDTYPE}" == "info" -o "${TLDTYPE}" == "org" ];
if [ "${TLDTYPE}" == "info" -o "${TLDTYPE}" == "org" -o "${TLDTYPE}" == "systems" -o "${TLDTYPE}" == "network" -o "${TLDTYPE}" == "run" -o "${TLDTYPE}" == "rocks" -o "${TLDTYPE}" == "win" -o "${TLDTYPE}" == "tel" ];
then
tdomdate=`cat ${WHOIS_TMP} | ${AWK} '/Expiry Date:/ { print $4 }'`
tyear=`echo ${tdomdate} | ${CUT} -d'-' -f1`
Expand Down