Mercurial > repos > other > Puppet
view common/0logwatch @ 70:c91296a71160 puppet-3.6
Update IP address of clouduk - test VM should use a different name!
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 18 Oct 2015 18:57:46 +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