Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2006 17:59:22 +0100
From:      Pete French <petefrench@ticketswitch.com>
To:        M.Hirsch@gmx.de, stable@FreeBSD.org
Subject:   Re: Question about current rc scripts
Message-ID:  <E1FsjZS-0007q0-1n@dilbert.firstcallgroup.co.uk>
In-Reply-To: <44982469.9050008@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> Setting the variables can't work. As far as I can see, rc.conf is 
> sourced from rc.subr. And every single script in /etc/rc.d/ sources 
> rc.subr, so they reload the rc.conf file for each call.

Actually I was suggesting you overwrite rc.conf *itself* with the variable
setting code - so every script which reloads it gets the variables set.
Surely that would work ? Though it would mean your code would be run
multiple times...

-pete.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1FsjZS-0007q0-1n>