How to make a module load on boot
How do I make a kernel module load on boot on Debian Sarge with kernel 2.6.11?
|
Add it to /etc/modules.
Cheers, mj |
if your using kde go to your user folder /home/username then type
cd .kde the .kde folder is hidden, when your in there, cd into Autostart "/home/USERNAME/.kde/Autostart/", and write a shell script in there.....for instance.. ------------------------------------------ #!/bin/bash modprobe orinoco ------------------------------------------ that should definitely work |
Quote:
Cheers, mj |
i load a module at boot via a shell script in my kde autostart folder, and have never once had a problem with it since the day i wrote it a few months ago
|
Fair enough :)
I guess the only time that this approach could cause problems, would be if you needed the module to activate something important (display driver, network card etc.) before X was loaded. My personal preference is for the first method, but modification and freedom of choice are what Linux is about, after all. Cheers, mj |
Ok I got it to load via the editing /etc/modules method, thanks.
|
Quote:
well put.. |
Quote:
Anyway i don't think modules should be loaded only when KDE, GNOME or whatever starts ... There may be situations, but... hmmm.... /etc/modules is the choice IMHO acker |
All times are GMT -5. The time now is 03:07 PM. |