How to remove unneeded modules

Started by Dj, Thu Dec 29 15:25:39 2022

Previous topic - Next topic

Dj

Hello!
I did not install any bluetooth application. But I can see that some bt modules are active.
Any ideas, thank you.


Dj


Thierry

#3
Damm you right it's in

/etc/sysconfig/modules.d/ directory now

Thanks for pointing  out

Documentation is also fixed :)
BR,
Thierry

Dj

I am not quite sure how to blacklist bluetooth.
There is no /etc/sysconfig/modules.d/ folder in my installation of Nutyx.

Thierry

Hi Dj

Blacklist it in a /etc/sysconfig/modprobe.d/blacklist.conf file as done with the forte module in the example below:

In root:

mkdir -p /etc/sysconfig/modules.d
echo "blacklist forte" >/etc/sysconfig/modprobe.d/blacklist.conf


Blacklisted modules can still be loaded manually with the explicit modprobe command.

BR,
Thierry

Dj

Sorry for bumping this thread. I have been trying to blacklist acpi-cpufreq.
But that module is still active.
Can anyone help ?

Thierry

What is the file you're using for blacklisting ?