From owner-freebsd-rc@FreeBSD.ORG Fri Jun 9 22:31:56 2006 Return-Path: X-Original-To: freebsd-rc@FreeBSD.org Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7ED8A16A41A for ; Fri, 9 Jun 2006 22:31:56 +0000 (UTC) (envelope-from alex@foxybanana.com) Received: from imf16aec.mail.bellsouth.net (imf16aec.mail.bellsouth.net [205.152.59.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA1D343D73 for ; Fri, 9 Jun 2006 22:31:55 +0000 (GMT) (envelope-from alex@foxybanana.com) Received: from ibm58aec.bellsouth.net ([68.209.153.178]) by imf16aec.mail.bellsouth.net with ESMTP id <20060609223155.BDIO5928.imf16aec.mail.bellsouth.net@ibm58aec.bellsouth.net> for ; Fri, 9 Jun 2006 18:31:55 -0400 Received: from Laptop.mine.box ([68.209.153.178]) by ibm58aec.bellsouth.net with ESMTP id <20060609223154.NAQX20372.ibm58aec.bellsouth.net@Laptop.mine.box>; Fri, 9 Jun 2006 18:31:54 -0400 Received: from Laptop.mine.box (localhost [127.0.0.1]) by Laptop.mine.box (8.13.6/8.13.6) with ESMTP id k59MVGOd077782; Fri, 9 Jun 2006 17:31:16 -0500 (CDT) (envelope-from alex@Laptop.mine.box) Received: (from alex@localhost) by Laptop.mine.box (8.13.6/8.13.6/Submit) id k59MVFNQ077781; Fri, 9 Jun 2006 17:31:15 -0500 (CDT) (envelope-from alex) From: Alexander Botero-Lowry Message-Id: <200606092231.k59MVFNQ077781@Laptop.mine.box> Date: Fri, 09 Jun 2006 17:31:15 -0500 To: freebsd-rc@FreeBSD.org, erdgeist@erdgeist.org References: <200606091826.k59IQfmo057494@freefall.freebsd.org> <20060609222512.Y15476@erdgeist.org> <20060610001442.U15476@erdgeist.org> In-Reply-To: <20060610001442.U15476@erdgeist.org> User-Agent: nail 11.25 7/29/05 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: conf/95162: [patch] Missing feature in rc.subr X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2006 22:31:56 -0000 Using /etc/rc.conf.d would be better. You don't have to bother doing reinplace, you can just override the file when you have a configval change. Alex Dirk Engling wrote: > > On Fri, 9 Jun 2006, Dirk Engling wrote: > > > Have I missed anything else? I would like to see this feature when its ready. > > Maybe something like > > for _config_file in ${rc_conf_files}; do > sed -E -i .backup "s/^${rcvar}=[^[:space:]]+/${rcvar}=\"NO\"/" $_config_file > done > > would work better to disable a set variable... > > Regards > > erdgeist > _______________________________________________ > freebsd-rc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-rc > To unsubscribe, send any mail to "freebsd-rc-unsubscribe@freebsd.org" > > !DSPAM:4,4489f38f220991114612665! >