From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 11 05:39:30 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 36B3B16A401 for ; Sun, 11 Feb 2007 05:39:30 +0000 (UTC) (envelope-from dgilbert@daveg.ca) Received: from ox.eicat.ca (ox.eicat.ca [66.96.30.35]) by mx1.freebsd.org (Postfix) with ESMTP id 0F9E013C441 for ; Sun, 11 Feb 2007 05:39:29 +0000 (UTC) (envelope-from dgilbert@daveg.ca) Received: by ox.eicat.ca (Postfix, from userid 66) id D3170DA83; Sun, 11 Feb 2007 00:39:28 -0500 (EST) Received: by canoe.dclg.ca (Postfix, from userid 101) id 6065E61C9F; Sun, 11 Feb 2007 00:39:28 -0500 (EST) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17870.44048.280950.624790@canoe.dclg.ca> Date: Sun, 11 Feb 2007 00:39:28 -0500 To: freebsd-hackers@freebsd.org X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid Subject: 4th loading a module. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2007 05:39:30 -0000 I'm no forth expert --- but I have a basic understanding on how it goes together. I can also follow expamples. What I want to do is load a module (if_iwiNG or snd_ich) based on a menu choice at the beastie menu. I have successfully added the manu item and a variable --- following the example. I tried adding: dup bootwifikey @ = if s" YES" s" if_iwiNG_load" setenv 0 boot then to the end, but it doesn't work. load_modules has already been called. I tried (out of the blue) s" if_iwiNG" load_module ... but that's not the correct recipe (at least... 4th crashes if I load that code). I don't see any other examples of loading a single module by command. I'd appreciate it if someone could provide the requisite magic incantation. Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can be | |Mail: dave@daveg.ca | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================