[CentOS] loading modules across reboots

Thu Aug 28 12:43:09 UTC 2008
Jim Perrin <jperrin at gmail.com>

On Thu, Aug 28, 2008 at 8:03 AM, Gopinath Achari
<gopinath at signal-networks.com> wrote:
> add an entry of that module in /etc/rc.sysinit
> insmod /lib/modules/2.6.x.x/drivers/kernel/net/modulename.o
> and it automatically loads the module during the reboot

This is very much the WRONG place for this type of module load.

You can do this in /etc/modprobe.conf (or /etc/modprobe.d) OR you can
create an /etc/rc.modules (for legacy support) OR you can add your
bits to /etc/sysconfig/modules/foo.modules.

Adding things to /etc/rc.sysinit is very much incorrect, as well as
reckless, dangerous, and other such negative words.

During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell