Date: Sun, 11 Feb 2007 12:32:33 +0100 From: Christian Laursen <xi@borderworlds.dk> To: David Gilbert <dgilbert@dclg.ca> Cc: freebsd-hackers@freebsd.org Subject: Re: 4th loading a module. Message-ID: <ygfire9gca6.fsf@dominion.borderworlds.dk> In-Reply-To: <17870.44048.280950.624790@canoe.dclg.ca> (David Gilbert's message of "Sun, 11 Feb 2007 00:39:28 -0500") References: <17870.44048.280950.624790@canoe.dclg.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
David Gilbert <dgilbert@dclg.ca> writes: > 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 use this code to load an mfsroot from forth: s" " s" /boot/mfsroot" s" mfs_root" s" -t" 4 load Perhaps something like the following might work for you: s" " s" /boot/kernel/if_iwiNG.ko" 2 load I am no forth expert either and have just been using trial and error to get to what I have. -- Christian Laursen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygfire9gca6.fsf>