Subject: Bug#4431: cern-httpd cron.weekly file doesn't spot when lines commented

From: Ian Jackson <[email-masked]>
Date: Sat, 7 Sep 96 13:22 BST

Package: cern-httpd
Version: 3.0-7

/etc/cron.weekly/cern-httpd contains:
 grep -Eqi '^\W*port\W+[[:digit:]]+' /etc/cern-httpd.conf \
    || grep -Eqi '^\W*servertype\W+standalone+' /etc/cern-httpd.conf \
    && /usr/sbin/cern-httpd -restart 2> /dev/null

This is obviously done to try to spot inetd-run servers, but the
regexps match even if there are lines like
 # Port	80
in /etc/cern-httpd.conf.

Ian.