Thursday, January 15, 2009

Tip: Disable shutdown beep in FreeBSD

Beeps are annoying and the one at shutdown is no different.

Here's how to get rid of shutdown beeps:
  1. % su
  2. # sysctl hw.syscons.bell=0
  3. # echo "hw.syscons.bell=0" >> /etc/sysctl.conf
  4. # exit
We've started by becoming the superuser and then on step 2 we've disable the console bell. To guarantee that on next boot that horrible beep doesn't crop up we've added a sysctl to disable it in /etc/sysctl.conf.

No comments: