]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
tweaks and undo error entry
authorOtto <otto.moerbeek@open-xchange.com>
Mon, 25 Oct 2021 13:20:18 +0000 (15:20 +0200)
committerOtto <otto.moerbeek@open-xchange.com>
Mon, 15 Nov 2021 13:13:09 +0000 (14:13 +0100)
docs/secpoll-check.sh

index 67c6409744ca866909231dc0dc21b9099fabd30d..cf184f043130fcf995de7461c82abebd0593bb25 100644 (file)
@@ -3,7 +3,7 @@ if [ $# -ne 1 ]; then
   echo usage: $0 file
   exit 1
 fi
-if ! egrep -v '^(@|;|$)' "$1" | egrep -v '(auth|recursor|dnsdist)-[0-9]\.[0-9]\.[0-9](-(alpha|beta|rc)[0-9]+)?[-_a-z0-9\.]*\.security-status +60 IN TXT "[1-3].*"' 
+if ! egrep -v '^(@|;|$)' "$1" | egrep -v 'ubuntu|debian|raspbian|fedora' | egrep -v '(auth|recursor|dnsdist)-[0-9]+\.[0-9]+\.[0-9]+(-(alpha|beta|rc)[0-9]+)?\.security-status +60 IN TXT "[1-3].*"' 
 then
 echo OK
 exit 0