Re: modprobe.conf question.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pavel Rozenboim (pavelr@xxxxxxxxxxx) said: 
> > The modutils package will generate a modprobe.conf the first
> > time it's installed from modules.conf, but it's not automatically
> > updated after that.
> 
> Thanks, for the answer. Is there any documentation regarding modprobe.conf
> somewhere? If I put an 'if' statement in it like I do in modules.conf, I get
> an error message from modprobe.

No, the 2.5 modutils doesn't support 'if' statements.

You may be able to do something with with the 'include' directive, for
example (untested, salt to taste):

install eth0 bash -c "if [ "`uname -r`" = "2.4.20" ]; then modprobe e100 ; else modprobe e1000 ; fi"

For docs, install the source rpm, and look at modprobe.conf.5 in
the module-init-tools subdirectory (and yes, that needs packaged.)

Bill




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux