On Thu, 9 May 2002, Michael Smith wrote:

> > I've finally learned enough forth to put together a diff to implement some 
> > nextboot functionality in the loader.
> > 
> > Basically, the loader peeks into the first line of /boot/nextboot.conf to 
> > see if nextboot_enable="YES" is there. If it is, it reads the entire 
> > config, then rewrites the first line to nextboot_enable="NO"
> 
> Don't do this.  Put the variables directly into loader.conf.  There's no 
> need for another file.

I think it's a bad idea to try to rewrite /boot/loader.conf. I purposely 
went for /boot/nextboot.conf so that if something went wrong with the 
rewrite, it (hopefully) wouldn't hose the user's settings.

-gordon


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to