Random Project

CentOS 6.3 change to who is

To get this to work on CentOS I had to modify line 60 to this:

expiration=`whois communitect.com |grep “Expires”| awk -F”:” ‘{print $2}’|cut -f 1`

The who is “Expires on” string varied from what the program is looking for.