How to load modules on boot CentOS 6.x
If you would like to load a module on boot you can do so by doing the following.
create a file named anything.module in the /etc/sysconfig/modules/ directory. The file can be named anything so long as it ends with .module. You will also need to give this file 755 permissions.
cd /etc/sysconfig/modules/ touch mymodule.modules chmod 755 mymodule.modules echo "#!/bin/sh /sbin/insmod mymodule" >> mymodule.modules
Thats it!