Subject: Re: Faster boot - Delaying rc.conf services - crontab@reboot and
To: None <netbsd-users@netbsd.org>
From: C. K. <ck74@operamail.com>
List: netbsd-users
Date: 08/12/2007 04:04:46
Dave Berger wrote:
> 
> On Sat, Aug 11, 2007 at 06:38:42PM -0700, C. K. wrote:
> ...
>> OK, i think i've found a suitable solution:
>> 
>> rc.conf >
>> ---------------
>> apache=NO
>> mysqld=NO
> ...
>> /etc/script.to.call >
>> --------------------
>> sleep 120
>> /etc.rc.d/apache start
>> /etc/rc.d/mysqld start
> 
>   Due to the "apache=NO", you'll need something like
> 
> /etc/rc.d/apache onestart
> 
> instead of plain "start" (or you might need "forcestart", I forget
> the difference between onestart and forcestart.  Perhaps the
> wizards will advise).
> 
> Cheers,  --Dave B.
> Boston, MA
> 
> 





Hi,

Thank you all netbsd friends. Just FYI:


rc.conf>
apache=NO

crontab -e>
@reboot /etc/script.to.start.services


/etc/script.to.start.services>
sleep 120
/etc/rc.d/apache onestart
..
..
..


solution worked. Thank you for clue ;)


Regards,






-- 
View this message in context: http://www.nabble.com/Faster-boot---Delaying-rc.conf-services-tf4254983.html#a12113158
Sent from the netbsd-users mailing list archive at Nabble.com.