Archive

Posts Tagged ‘scriptlet’

If a PC speaker beeps in a Fedora system and no one is around to hear it, is it still annoying?

January 24th, 2009 4 comments

Paul, John, and Joeren, I find that beeping so annoying that I simply eliminate that module entirely rather than disable it or blacklist it. To ensure that each new kernel update has its pcspkr module also removed, I append the following to the /etc/rc.local file.

rmmod pcspkr ||:
rm -f $(modprobe -F filename pcspkr) ||:

I suppose one could make an RPM whose sole purpose is to keep that in a trigger scriplet for each kernel update, but that might be just a little bit overkil.

Also, a great big Happy Birthday to Max Spevack! 🙂