Mercurial > repos > other > Puppet
view common/0logwatch @ 439:e4de05e3a2f8
Ensure Python params are included
It used to "just work" but Puppet is now getting pickier
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 14 Aug 2022 11:47:50 +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