From: Zachary Vance Date: Sat, 23 Apr 2016 19:17:57 +0000 (-0700) Subject: Fix ddns status script X-Git-Url: https://git.za3k.com/?a=commitdiff_plain;h=b591619d535b9b6012100f7170642cdd642a856d;p=za3k.git Fix ddns status script --- diff --git a/cgi-bin/service.status.d/ddns.za3k.com b/cgi-bin/service.status.d/ddns.za3k.com index 14c7a28..4ba53f4 100644 --- a/cgi-bin/service.status.d/ddns.za3k.com +++ b/cgi-bin/service.status.d/ddns.za3k.com @@ -2,5 +2,5 @@ ALL=$(curl -iLs https://ddns.za3k.com) HEADER=$(echo "$ALL" | head -1) echo "${HEADER}" echo "${ALL}" | grep -q "404 Not Found" >/dev/null || exit 1 -echo "${ALL}" | grep -q "no domain" >/dev/null || exit 1 +echo "${ALL}" | grep -q "ddns provider" >/dev/null || exit 1 echo "${ALL}" | tail -n1