Mercurial > repos > other > Puppet
view common/0logwatch @ 238:6467e768e353 puppet-3.6
Switch to PHP 7.4 from Remi
Webtatic don't support PHP 7.4 yet, and Remi is a Fedora maintainer
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 20 Dec 2019 11:19:30 +0000 |
parents | 956e484adc12 |
children |
line wrap: on
line source
#!/bin/bash DailyReport=`grep -e "^[[:space:]]*DailyReport[[:space:]]*=[[:space:]]*" /usr/share/logwatch/default.conf/logwatch.conf | head -n1 | sed -e "s|^\s*DailyReport\s*=\s*||"` if [ "$DailyReport" != "No" ] && [ "$DailyReport" != "no" ] then logwatch fi