Subject: Re: Faster boot - Delaying rc.conf services
To: C. K. <ck74@operamail.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-users
Date: 08/11/2007 19:15:25
On Sat, 11 Aug 2007, C. K. wrote:

> Hi,
> 
> I would like to have fast initial boot and it could be better to have ie; 5
> mins delay in starting following services -- which are currently in rc.conf
> file:
> 
> sshd=YES
> apache=YES
> mysqld=YES
> lpd=YES
> and_similar_softwares=YES
> 
> 
> Then, KDM login screen may appear ie; 10 secs faster. sleep (5); in ie;
> /etc/rc.d/sshd didn't work.
> 
> Any advise other than compiling kernel? Boot untill dhclient service starts
> is only 22 secs and that's acceptable.
> 
> 
> Regards,

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