conf/95162: [patch] Missing feature in rc.subr
Alexander Botero-Lowry
alex at foxybanana.com
Fri Jun 9 22:31:56 UTC 2006
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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-rc
> To unsubscribe, send any mail to "freebsd-rc-unsubscribe at freebsd.org"
>
> !DSPAM:4,4489f38f220991114612665!
>
More information about the freebsd-rc
mailing list