Mercurial > repos > other > Puppet
view common/0logwatch @ 58:65b227da8dc2 puppet-3.6
Merge Default again
(Because somehow the last one wasn't the latest default,
even though I did "hg pull -u" just before the merge)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 26 Jul 2015 17:58:06 +0100 |
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