Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2007 00:39:28 -0500
From:      David Gilbert <dgilbert@dclg.ca>
To:        freebsd-hackers@freebsd.org
Subject:   4th loading a module.
Message-ID:  <17870.44048.280950.624790@canoe.dclg.ca>

next in thread | raw e-mail | index | archive | help
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================



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