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? 

Now what about merging hwdetect (with the ability to read from /etc/modules) 
with install_modules (using just the CLI) ? 
This way we can test from CLI without /etc/modules and with changing 
/etc/modules and testing from lrcfg menu?


kp

****

/usr/sbin/install_modules -h
logger: invalid option -- h
BusyBox v1.24.0 (2016-03-25 10:35:04 CET) multi-call binary.

Usage: logger [OPTIONS] [MESSAGE]

Write MESSAGE (or stdin) to syslog

        -s      Log to stderr as well as the system log
        -t TAG  [ 1577.055461] EXT4-fs (sda2): couldn't mount as ext3 due to 
feature incompatibilities
Log using the sp[ 1577.064539] EXT4-fs (sda2): couldn't mount as ext2 due to 
feature incompatibilities
ecified tag (defaults to user name)
        -p PRIO Priority (numeric or facility.level pair)
install_modules: installing -h
modprobe: invalid option -- h
BusyBox v1.24.0 (2016-03-25 10:35:04 CET) multi-call binary.

Usage: modprobe [-alrqvsDb] MODULE [SYMBOL=VALUE]...

        -a      Load multiple MODULEs
        -l      List (MODULE is a pattern)
        -r      Remove MODULE (stacks) or do autoclean
        -q      Quiet
        -v      Verbose
        -s      Log to syslog
        -D      Show dependencies
        -b      Apply blacklist to module names too






------------------------------------------------------------------------------
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