Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 1999 13:54:21 -0500 (EST)
From:      "Viren R. Shah" <viren@rstcorp.com>
To:        jim@reptiles.org (Jim Mercer)
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re:utility for setting PNP info in /etc/rc.conf?
Message-ID:  <199901071854.NAA86615@jabberwock.rstcorp.com>
In-Reply-To: <m0zyGW7-00080YC@mailbox.reptiles.org>
References:  <m0zyGW7-00080YC@mailbox.reptiles.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Jim" == Jim Mercer <jim@reptiles.org> writes:

 Jim> i've got a PNP modem in one of my servers.

 Jim> unfortunately, whenever i put a new kernel in place, i physically have to
 Jim> re-initialize the kernel using "boot -c, etc".

 Jim> is there a method to do this in /etc/rc.local or something?

For -current, use the load command in /boot/boot.conf:
 
load -t userconfig_script /boot/pnp.config

The, in /boot/pnp.config have something like:

USERCONFIG
pnp 1 1 os enable port0 0x534 port2 0x220 port3 0xe0d irq0 10 drq0 1 drq1 6
quit


I think a similar approach might work in -stable, putting the info in
pnp.setup into /kernel.config (or /boot.config), but check the
archives. 

Viren
-- 
Viren R. Shah
"Creeping featurism is a disease, fatal if not treated promptly"
   -- Don Norman in _The Design of Everyday Things_

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?199901071854.NAA86615>