tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Making powerd=YES default



On Aug 2, 2011, at 10:47 21PM, Mouse wrote:

>> How about this: read defaults/rc.conf *after* reading rc.conf, but use
> 
>>      : ${varname:=defaultvalue}
> 
>> to set it.
> 
> Nice idea, but how do you deal with all the existing rc.confs which
> have the ". /etc/defaults/rc.conf" _first_, rather than _last_?
> 
> You could make /etc/defaults.rc.conf empty and put the defaults in
> another file, but then how do you get that file included in the legacy
> rc.confs?

postinstall?  etcupdate?  Let's first figure out where we want to go,
and then figure out how to get there.

                --Steve Bellovin, https://www.cs.columbia.edu/~smb







Home | Main Index | Thread Index | Old Index