Mercurial > repos > other > Puppet
view common/0logwatch @ 360:58cf3e347102
Remove local DNS64 generation to get redundancy back
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 05 Oct 2020 20:05:38 +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