From owner-freebsd-hackers Thu Jan 7 10:55:16 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA21025 for freebsd-hackers-outgoing; Thu, 7 Jan 1999 10:55:16 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from assurance.rstcorp.com ([206.29.49.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA21017 for ; Thu, 7 Jan 1999 10:55:13 -0800 (PST) (envelope-from vshah@rstcorp.com) Received: (from uucp@localhost) by assurance.rstcorp.com (8.8.8/8.8.8) id NAA25353; Thu, 7 Jan 1999 13:54:44 -0500 Received: from sandbox.rstcorp.com(206.29.49.63) by assurance.rstcorp.com via smap (V2.0) id xma025347; Thu, 7 Jan 99 13:54:21 -0500 Received: from jabberwock.rstcorp.com (jabberwock [206.29.49.98]) by sandbox.rstcorp.com (8.8.8/8.8.8) with ESMTP id NAA05871; Thu, 7 Jan 1999 13:54:20 -0500 (EST) Received: (from vshah@localhost) by jabberwock.rstcorp.com (8.9.1/8.8.8) id NAA86615; Thu, 7 Jan 1999 13:54:21 -0500 (EST) Date: Thu, 7 Jan 1999 13:54:21 -0500 (EST) Message-Id: <199901071854.NAA86615@jabberwock.rstcorp.com> From: "Viren R. Shah" To: jim@reptiles.org (Jim Mercer) Cc: freebsd-hackers@FreeBSD.ORG Subject: Re:utility for setting PNP info in /etc/rc.conf? In-Reply-To: References: X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: "Viren R. Shah" X-Face: )~y+U*K:yzjz{q<5lzpI_SVef'U.])9g[C9`1N@]u3,MHY7f*l7C)[_NjM4y4K8$uIUh|\u (K&&HS6,M!61&GMTk'mqmB/Qg]]X}"?TzsFl]"2v!bl8']dma.:^IY^a[lbOI>U:b<~FyK3q-p{HmZ mn~g.`~BE!5{2D:}Yi+\_KkWe?XaHj9$ko1k8iKLYv5*_2c8"G=?Up[}hn+7RNM(bzBZ_wWk6!Pf&B ?3Tcm7M7B~W%K/I0aX3]*=jP?aM]H6HBPT`oLk+0n^_;N\2\%|Rhy;p}34Q.jEsM\qtnxcm;ag%Nq Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII 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 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