From owner-freebsd-current@FreeBSD.ORG Mon Jan 2 22:49:32 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88F491065672; Mon, 2 Jan 2012 22:49:32 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 40C668FC0C; Mon, 2 Jan 2012 22:49:32 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so18031323obb.13 for ; Mon, 02 Jan 2012 14:49:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=FvE/fGhT4sxQhIS5hwF1e33CWu63mM1Y579+hexJkIA=; b=ApRcaRj/Dh1V1NEHs3IJaGYF95OXp6MHu+z4/1z2fuHRqjQ/aatq/b4XrRfpE2z4nE BOR7zY2GsMSUr444oX49pnQiz8q2vCbrttGMTwoFx840/9Zp4dupKxAcZf/Ql/vIqEfD kQDUzGIKIfesrWSF0DHsfEDnIFi3SAVTc4W7w= MIME-Version: 1.0 Received: by 10.182.193.99 with SMTP id hn3mr42673517obc.61.1325544571906; Mon, 02 Jan 2012 14:49:31 -0800 (PST) Received: by 10.182.152.6 with HTTP; Mon, 2 Jan 2012 14:49:31 -0800 (PST) In-Reply-To: <4F023387.1060300@FreeBSD.org> References: <4F023387.1060300@FreeBSD.org> Date: Mon, 2 Jan 2012 14:49:31 -0800 Message-ID: From: Garrett Cooper To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "Bjoern A. Zeeb" , 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 22:49:32 -0000 On Mon, Jan 2, 2012 at 2:45 PM, Doug Barton wrote: > On 01/02/2012 14:14, Garrett Cooper wrote: > >> =A0 =A0 How does this look for starters? The attached patch's goal is to >> provide a generic, rc(5)-like infrastructure that would quiet down the >> periodic emails for 120.clean-preserve . > > The periodic scripts are badly in need of attention, so effort in that > area is much appreciated. > > Regarding your patch, rather than copying functions from rc.subr, why > not just source it? Yes, you will get more than you need, but I think > that the virtue of not having to maintain the same code in 2 places far > outweighs that minor drawback. That works too, assuming that rc.subr isn't too rc(5) centric. Thanks for the feedback! -Garrett