From owner-freebsd-current@FreeBSD.ORG Mon Jan 2 23:09:03 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 84E20106566C for ; Mon, 2 Jan 2012 23:09:03 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-198-245.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id CD8CD14F0A8; Mon, 2 Jan 2012 23:09:02 +0000 (UTC) Message-ID: <4F02390E.4080303@FreeBSD.org> Date: Mon, 02 Jan 2012 15:09:02 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: "Bjoern A. Zeeb" References: <4F023387.1060300@FreeBSD.org> <4F02350D.2050500@FreeBSD.org> In-Reply-To: X-Enigmail-Version: undefined OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Garrett Cooper , FreeBSD current mailing list Subject: Re: periodic emails X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2012 23:09:03 -0000 On 01/02/2012 15:01, Bjoern A. Zeeb wrote: > Looking at periodic(8) it says: > > Each script is required to exit with one of the following values: > > 0 The script has produced nothing notable in its output. The > _show_success variable controls the masking of this out- > put. > > 1 The script has produced some notable information in its output. > The _show_info variable controls the masking of this out- > put. > > 2 The script has produced some warnings due to invalid configuration > settings. The _show_badconfig variable controls the mask- > ing of this output. > > >2 The script has produced output that must not be masked. > > > Could it even be that if setting the correct "*_show_*" config option > could do the right thing for me already? I have no clue how that "masking" is > done and in which category "has not produced any output but the heading" > would fall into and if other things would possibly be hidden as well? I'm not sure which problem you're trying to solve. Are you trying to solve the problem of "scripts that are enabled but don't have any output other than the header should not output anything at all?" If so, then yes, then *_show_success="NO" is likely what you're after. I assumed from your OP that you were trying to solve a different problem, but it's starting to seem like I read it wrong. Can you clarify? Doug -- You can observe a lot just by watching. -- Yogi Berra Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/