OpenWrt Forum Archive

Topic: Kernel Module Autoload .. is there an elegant way to enable/disable ?

The content of this topic has been archived on 29 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hey All;

Is there an elegant way to disable/enable autoloading of kernel modules on a module package basis ?

Right now most kernel module packages are setup to autoload if selected.  Is there an elegant way to make this user selectable via "make menuconfig" ?

GPW

For the current board that I'm working with;

  I'd like to auto-load  all board specific modules,  and  load on demand all others.
  Thus my desire to selectively  enable/disable the autoload function on a per package or per module basis.

  Maybe have a set of boolean on/off switches on per module to enable/disable loading.

Ideas anyone ?

GPW

The discussion might have continued from here.