Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Nov 2000 14:11:00 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        dmaddox@sc.rr.com
Cc:        current@FreeBSD.ORG
Subject:   Re: 3dfx.ko
Message-ID:  <3A248FE4.D6600E3D@newsguy.com>
References:  <20001128145340.A562@cae88-102-101.sc.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Donald J . Maddox" wrote:
> 
> The standard way of loading a particular module at boot from
> /boot/loader.conf is 'modulename_load="YES"', right?  This
> doesn't seem to be possible with the 3dfx module, however...
> Since it's name starts with a number, it causes a syntax error.

Ugh. Evil stuff. Are environment variables starting with digits allowed
in sh(1)? If so, I'll extend loader's syntax. Otherwise, see below.

> Anybody know how to make this work?

Use two variables to control this. For instance:

threedfx_load="YES"
threedfx_name="3dfx"

The way loader is set up, you put the _name line in
/boot/defaults/loader.conf, so that the user only needs to put the
threedfx_load="YES" line in his config.

-- 
Daniel C. Sobral			(8-DCS)

dcs@newsguy.com
dcs@freebsd.org
capo@united.bsdconspiracy.net

	"All right, Lieutenant, let's see what you do know. Whatever it is,
it's not enough, but at least you haven't done anything stupid yet."
	"I've hardly had time, sir."
	"There's a naive statement."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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