Date: Fri, 09 Jun 2006 17:31:15 -0500 From: Alexander Botero-Lowry <alex@foxybanana.com> To: freebsd-rc@FreeBSD.org, erdgeist@erdgeist.org Subject: Re: conf/95162: [patch] Missing feature in rc.subr Message-ID: <200606092231.k59MVFNQ077781@Laptop.mine.box> In-Reply-To: <20060610001442.U15476@erdgeist.org> References: <200606091826.k59IQfmo057494@freefall.freebsd.org> <20060609222512.Y15476@erdgeist.org> <20060610001442.U15476@erdgeist.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <erdgeist@erdgeist.org> 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! >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606092231.k59MVFNQ077781>