If you want load a modules "some.ko" to kernel when system is booting.. You can do this:
$ cd /etc/init.d/
$ sudo gvim "boot.local"
Add follow line in boot.local file:
"insmod /filedirectory/some.ko"
Make the file executable
$ sudo chmod +x boot.local
Make it bootable ..Dont forget the last dot.
$ sudo update-rc.d boot.local start 51 S .
Now If you reboot system ,you will see the that module already was loaded by command "lsmod";
No comments:
Post a Comment