CentOS的pcspkr模块, 报警声 2022-10-01 21:50:00 http://code.js-code.com/centos/120705.html 加载pcspkr模块打开beep 1 2 3 [root@localhost~]# modprobe pcspkr [root@localhost~]# lsmod | grep pcspkr pcspkr 20000 卸载pcspkr模块关闭beep 1 [root@localhost~]# rmmod pcspkr 永久禁止加载pcspkr模块 1 2 3 4 5 6 [root@localhost~]# vim /etc/modprobe.d/blacklist.conf blacklist pcspkr [root@localhost~]# vim /etc/rc.local /sbin/rmmod pcspkr