tech-userlevel archive

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

Re: /etc/daily, rc.conf, swap, NTP, NFS



Erik Fair <fair%netbsd.org@localhost> wrote:

> On Jun 29, 2013, at 10:51, matthew sporleder <msporleder%gmail.com@localhost> 
> wrote:
> 
>> You don't need to source rc.conf directly since /etc/daily sources rc.subr
>> 
>> Then you can use checkyesno or load_rc_config or load_rc_config_var
>> depending on what needs checking.
> 
> Actually, yes, I do - see /etc/rc

/etc/rc is not concerned with individual services that may have
additional configuration in /etc/rc.conf.d/*

From a quick look, you should probably use

  load_rc_config_var ntpd ntpd
  load_rc_config_var swap no_swap
  # ... etc

-uwe



Home | Main Index | Thread Index | Old Index