Jump to content
XPEnology Community

How to insmod a module on every boot ?


interested

Recommended Posts

vi /etc/rc.local

and attach the insmod-lines to the end. Save.

 

If you are not familiar with vi, do the following instead:

 

echo "insmod /lib/modules/hid.ko" >> /etc/rc.local

echo "insmod /lib/modules/usbhid.ko" >> /etc/rc.local

echo "insmod /lib/modules/usb-storage.ko" >> /etc/rc.local

 

Be aware! Do always use ">>" and NOT ">", since the second one will not append the line but replace the file's content by the line!

 

No restart needed in case you have loaded the modules already by hand.

Link to comment
Share on other sites

×
×
  • Create New...