From: Zachary Vance Date: Sat, 23 Apr 2016 19:18:44 +0000 (-0700) Subject: Fix ddns.za3k.com tester X-Git-Url: https://git.za3k.com/?a=commitdiff_plain;h=cb11c856d374cca3bfbc9c0b9c68a8a6efcd7d4e;p=za3k.git Fix ddns.za3k.com tester --- diff --git a/cgi-bin/service.status.d/ddns.za3k.com b/cgi-bin/service.status.d/ddns.za3k.com index 4ba53f4..33434b0 100644 --- a/cgi-bin/service.status.d/ddns.za3k.com +++ b/cgi-bin/service.status.d/ddns.za3k.com @@ -1,6 +1 @@ -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 "ddns provider" >/dev/null || exit 1 -echo "${ALL}" | tail -n1 +./up? "https://ddns.za3k.com"