Nombre total de pages vues

mercredi 19 janvier 2011

Automatically load kernel modules at boot time

If you need to load some modules when server boot, you have to do the following:
echo "modprobe [module_name]" > /etc/sysconfig/modules/[module_name].modules
chmod +x /etc/sysconfig/modules/[module_name].modules
Here is an example with fuse module:
echo "modprobe fuse" > /etc/sysconfig/modules/fuse.modules
chmod +x /etc/sysconfig/modules/fuse.modules
On the next reboot, /etc/rc.sysinit script will load all scripts that located into /etc/sysconfig/modules directory.

Aucun commentaire:

Enregistrer un commentaire