Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 1999 17:31:36 +0100 (CET)
From:      Andrzej Bialecki <abial@nask.pl>
To:        Jim Mercer <jim@reptiles.org>
Cc:        Luigi Rizzo <luigi@labinfo.iet.unipi.it>, hackers@FreeBSD.ORG, paul@it.ca
Subject:   Re: utility for setting PNP info in /etc/rc.conf?
Message-ID:  <Pine.BSF.4.02A.9901071728510.28969-100000@korin.warman.org.pl>
In-Reply-To: <m0zyHCJ-00080YC@mailbox.reptiles.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 7 Jan 1999, Jim Mercer wrote:

> > > i've got a PNP modem in one of my servers.
> > > 
> > > unfortunately, whenever i put a new kernel in place, i physically have to
> > > re-initialize the kernel using "boot -c, etc".
> > > 
> > > is there a method to do this in /etc/rc.local or something?
> > 
> > with 2.2.x you put this in /kernel.config, with 3.0 there must be some
> > other way.

With 3.0.1 (assuming you run ELF kernel) you have to issue the following
commands while in /boot/loader:

load kernel
load -t userconfig_script /kerel.config

or, to place the above in /boot/boot.conf (which soon changes name to
boot.rc or something.. :-)

Andrzej Bialecki

--------------------   ++-------++  -------------------------------------
 <abial@nask.pl>       ||PicoBSD||   FreeBSD in your pocket? Go and see:
 Research & Academic   |+-------+|       "Small & Embedded FreeBSD"
 Network in Poland     | |TT~~~| |    http://www.freebsd.org/~picobsd/
--------------------   ~-+==---+-+  -------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02A.9901071728510.28969-100000>