Question about current rc scripts

Pete French petefrench at ticketswitch.com
Tue Jun 20 16:59:23 UTC 2006


> 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.


More information about the freebsd-stable mailing list