Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jan 1999 13:22:19 -0800
From:      Mike Smith <mike@smith.net.au>
To:        "Viren R. Shah" <viren@rstcorp.com>
Cc:        jim@reptiles.org (Jim Mercer), freebsd-hackers@FreeBSD.ORG
Subject:   Re: utility for setting PNP info in /etc/rc.conf? 
Message-ID:  <199901072122.NAA01250@dingo.cdrom.com>
In-Reply-To: Your message of "Thu, 07 Jan 1999 13:54:21 EST." <199901071854.NAA86615@jabberwock.rstcorp.com> 

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901072122.NAA01250>