Subject: Re: Faster boot - Delaying rc.conf services
To: C. K. <ck74@operamail.com>
From: Johnny Billquist <bqt@softjar.se>
List: netbsd-users
Date: 08/12/2007 03:52:10
In rc.local, add an at(1) command, five minutes into the future, running a 
script. In that script, you then start those services that you don't want to 
start during the normal rc.

	Johnny

C. K. skrev:
> 
> 
> 
> Sorry for confusion...
> 
> I mean, i would like to start some of services 5 mins after initila boot. It
> could be better to auto-start apache, mysql, and similar softwares later.
> 
> If i add "apache=YES" into rc.conf, it starts just after KDM starts, and it
> takes about 1 min 5 secs to boot.
> 
> Regards,
> 
> 
> 
> 
> 
> Jeremy C. Reed wrote:
>> I am not sure if I understand this.
>>
>> Do you want to force it to delay? If so try your sleep in an 
>> /etc/rc.conf.d/ file (named after rcvar). Put it where you want it based 
>> on the output of "rcorder /etc/rc.d/*".
>>
>> Or are you complaining that it is too slow? If it is too slow, then 
>> probably it is a networking or DNS issue that needs to be resolved.
>>
>>   Jeremy C. Reed
>>
> 


-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt@softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol