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