Преглед изворни кода

removed dns and mail support - checking le

Skull Writter пре 7 година
родитељ
комит
fa331e6ef2
1 измењених фајлова са 0 додато и 11 уклоњено
  1. 0 11
      bin/v-update-letsencrypt-ssl

+ 0 - 11
bin/v-update-letsencrypt-ssl

@@ -36,17 +36,6 @@ for user in $users; do
         if [ ! -z "$webSuspended" ]; then
         if [ ! -z "$webSuspended" ]; then
                 continue;
                 continue;
         fi;
         fi;
-        # Working on DNS domain check - if is suspended
-        dnsSuspended=$(grep "DOMAIN='$domain'" $USER_DATA/dns.conf |grep "SUSPENDED='no")
-        if [  ! -z "$dnsSuspended" ]; then
-            continue;
-        fi;
-        #dunno if this is needed, but i will ut it in the same way as web and dns
-        # Working on MAIL domain check - if is suspended
-        mailSuspended=$(grep "DOMAIN='$domain'" $USER_DATA/mail.conf |grep "SUSPENDED='no")
-        if [  ! -z "$mailSuspended" ]; then
-            continue;
-        fi
         crt="$VESTA/data/users/$user/ssl/$domain.crt"
         crt="$VESTA/data/users/$user/ssl/$domain.crt"
         crt_data=$(openssl x509 -text -in "$crt")
         crt_data=$(openssl x509 -text -in "$crt")
         expire=$(echo "$crt_data" |grep "Not After")
         expire=$(echo "$crt_data" |grep "Not After")