From cb11c856d374cca3bfbc9c0b9c68a8a6efcd7d4e Mon Sep 17 00:00:00 2001 From: Zachary Vance Date: Sat, 23 Apr 2016 12:18:44 -0700 Subject: [PATCH] Fix ddns.za3k.com tester --- cgi-bin/service.status.d/ddns.za3k.com | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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" -- 2.47.3