From owner-freebsd-hackers Thu Jan 7 13:25:41 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA10092 for freebsd-hackers-outgoing; Thu, 7 Jan 1999 13:25:41 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA10087 for ; Thu, 7 Jan 1999 13:25:40 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id NAA01250; Thu, 7 Jan 1999 13:22:19 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199901072122.NAA01250@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Viren R. Shah" cc: jim@reptiles.org (Jim Mercer), freebsd-hackers@FreeBSD.ORG Subject: Re: utility for setting PNP info in /etc/rc.conf? In-reply-to: Your message of "Thu, 07 Jan 1999 13:54:21 EST." <199901071854.NAA86615@jabberwock.rstcorp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 07 Jan 1999 13:22:19 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >>>>> "Jim" == Jim Mercer 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 This line is only required in the old /kernel.config case. > 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 > -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message