Am 31.03.2016 um 19:26 schrieb kp kirchdoerfer:
> Hi Erich;
> 
> Am Donnerstag, 31. März 2016, 19:00:45 schrieb Erich Titl:
>> Hi KP
>>
>> Am 31.03.2016 um 17:31 schrieb kp kirchdoerfer:
>> ...>
>>
>>> The name "hwdetect" is misleading. The more interesting part of hwdetect
>>> now is loading modules from /etc/modules rather than loading hardware.
>>> This way I can add pppoe to /etc/modules, run hwdtect (of "f" from lrcfg
>>> menu) and get pppoe and modules it depends on (ppp*) loaded without
>>> reboot. This is allows quick testing etc..
>>
>> I believe there is a simpler script in /usr/sbin to accomplish this.
>> Look for install_modules.
>> You need not modify /etc/modules.
> 
> Good suggestion - I believe it' too new.
> 
> A command line option for help could be useful though. (see below)
> 
> Other than that it works.
> 
> But the way it is, I doubt this does work from lrcfg menu? 

Well I never edited /etc/modules from the lrcfg menu, to be honest I
mainly use one single menu point.... save :-(

> 
> Now what about merging hwdetect (with the ability to read from /etc/modules) 
> with install_modules (using just the CLI) ? 

What for?

> This way we can test from CLI without /etc/modules and with changing 
> /etc/modules and testing from lrcfg menu?

I believe it is easier to type

install_modules sd-mod

than

- edit /etc/modules
        enter sd-mod
- save
- run lrcfg and choose (what is this again) ... ahhh f) Find & load
modules for hardware

Maybe we could build a webconf page which allows to just enter the
module name to be loaded.

More difficult is the unloading process, detecting what else to unload,
e.g. what modules are not needed when one is removed.

cheers

ET

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to