Load module at boot time
Is there a way to load my own module (it doesnt rely to any hardware) at boot time.
In the the file etc/modules.conf I added
alias kixa kilo_poli.o
After botting up, the module is not loaded but running modprobe kixa will do it (after all thats the purpose of modules.conf).
But, my purpose is to see my module loaded at boot time (at the same time when other modules e.g. net device drivers or serial port are being loaded at boot time).
Well, thru google, I saw some guys talking about a file /etc/modules.autoload/kernel-version but I guess this is specific to a such distro and I do not want to rely to a specific distro.
Ok, from what i can tell, this is a distro specific process. the /etc/modules.autoload/kernel-version you mentioned is the way gentoo handles it, and it is very simple.
this link has some information on compileing modules, and then configuring your distro to auto load them. It says that debian and redhat have identical boot procedures, so they can be configured the same.
Directly from the website:
Having logged in as root, use your favourite text editor to create a new file called /etc/rc.d/init.d/modules.init with the following contents therein:
|All times are GMT -5. The time now is 02:04 AM.|