Subject: Re: Beep on halt
To: Takahiro Kambe <taca@back-street.net>
From: Julio Merino <jmmv@menta.net>
List: tech-kern
Date: 10/19/2002 19:24:53
On Sun, 20 Oct 2002 02:04:48 +0900
Takahiro Kambe <taca@back-street.net> wrote:
> About 1 years ago, I discussed with my colleague the same function.
> Its target wasn't NetBSD but old FreeBSD.
>
> At that time, we thought this functionality should be controllable
> with sysctl(8).
>
> kern.shutdown_beep.on (bool) beep on shutdown or not
> kern.shutdown_beep.duration (int) beep time in some unit
> kern.shutdown_beep.pitch (int) pitch of beep
> kern.shutdown_beep.count (int) beep number of times
Interesting. I have to learn how to add sysctl variables then. This
seems better than just kernel options, so that they can be easily
changed at runtime.
Thanks for the tip!
--
Julio Merino (http://jmmv.dyndns.org/) <jmmv@menta.net>