From owner-freebsd-hackers Mon Jul 20 23:05:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA20542 for freebsd-hackers-outgoing; Mon, 20 Jul 1998 23:05:01 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA20524 for ; Mon, 20 Jul 1998 23:04:56 -0700 (PDT) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.8.8/8.8.5) with SMTP id IAA26853; Tue, 21 Jul 1998 08:07:50 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Tue, 21 Jul 1998 08:07:50 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: Adam McDougall cc: Denis DeLaRoca , hackers@FreeBSD.ORG Subject: Re: USERCONFIG_BOOT option: how to? In-Reply-To: <35B3A930.98E88FF8@ameritech.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 20 Jul 1998, Adam McDougall wrote: > Denis DeLaRoca wrote: > > > What are the details of using the USERCONFIG_BOOT option when configuring > > a kernel. I can't find any documentation on it... I think it allows for > > porgramming "boot -c" commands on /kernel.config but so far I don't seem > > to get working that way. Am I missing some parm when specifying the option > > in the kernel config file? > > > > -- Denis > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > This works for me.. > % cat /kernel.config > USERCONFIG > disable le0 > disable wdc1 > enable ed0 > quit ... and "USERCONFIG\n" being the crucial thing here - it's the keyword for userconfig code that it has to look into this section of kernel.config. When it sees this keyword, it passes the contents of all lines into command-line engine as if they were read from keyboard. That's why it has to end with "quit" command. And yes, you have to include USERCONFIG_BOOT. If you use boot: -c when the /kernel.config is present, it will first read it and set up parameters appropriately, but then it will ignore the final "quit" command. Andrzej Bialecki +---------------------+------------------------+--------------------------+ | | When in problem or in | if(halt_per_mth > 0) { | | Research & Academic | doubt, run in circles, | fetch("FreeBSD"); | | Network in Poland | scream and shout. | } | + --------------------+------------------------+--------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message