From owner-freebsd-current Tue Nov 28 21:12:59 2000 Delivered-To: freebsd-current@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 2AB4937B401 for ; Tue, 28 Nov 2000 21:12:57 -0800 (PST) Received: from newsguy.com (p27-dn02kiryunisiki.gunma.ocn.ne.jp [211.0.245.92]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id OAA18340; Wed, 29 Nov 2000 14:12:53 +0900 (JST) Message-ID: <3A248FE4.D6600E3D@newsguy.com> Date: Wed, 29 Nov 2000 14:11:00 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR MIME-Version: 1.0 To: dmaddox@sc.rr.com Cc: current@FreeBSD.ORG Subject: Re: 3dfx.ko References: <20001128145340.A562@cae88-102-101.sc.rr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "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