Chee How Chua wrote: >> echo "install yealink /bin/true" >> /etc/modprobe.d/yealink >> >> should help with that too. > > Can you kindly explain what effect this line has? I know that it will > create/append a file named 'yealink' under /etc/modprobe.d, and that > this file will contain the line 'install yealink /bin/true'. But what > will happen when you do this?
You should read "man modprobe.conf". An "install" primitive like the one mentioned above in modprobe's configuration file will tell modprobe to run the specified command /bin/true instead of actually inserting the module in the kernel. In other words, whenever modprobe receives the command to load the "yealink" module, it will run /bin/true instead which always returns successful. The solution presented above will therefore effectively prevent the loading of the yealink kernel module via modprobe. However, using insmod might still work for the yealink module. Cheers, Th. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
