1

CentOS的pcspkr模块, 报警声

 1 year ago
source link: http://abcdxyzk.github.io/blog/2022/10/01/centos-bill/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

CentOS的pcspkr模块, 报警声

2022-10-01 21:50:00

http://code.js-code.com/centos/120705.html

加载pcspkr模块打开beep

[root@localhost~]# modprobe pcspkr
[root@localhost~]# lsmod | grep pcspkr
pcspkr    20000

卸载pcspkr模块关闭beep

[root@localhost~]# rmmod pcspkr

永久禁止加载pcspkr模块

[root@localhost~]# vim /etc/modprobe.d/blacklist.conf
blacklist pcspkr


[root@localhost~]# vim /etc/rc.local
/sbin/rmmod pcspkr

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK