Subject: Re: Beep on halt (second patch)
To: None <tech-kern@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 10/19/2002 22:48:28
In article <20021020000145.73290228.jmmv@menta.net>,
Julio Merino <jmmv@menta.net> wrote:

It does not need modifying the sysctl program, and although it is more
work, it is the way to go.

christos

>I have tried this, under the machdep. namespace. Adding new sysctl's
>involves more work, and also needs modifying the sysctl program
>itself... I do not like this... So I've added two new configuration
>variables to specify the freq/time. That is
>
>options BEEP_ON_HALT - if defined, specifies how many beeps. If not
>                       defined, the feature is *completly* disabled
>                       (cannot be easily achieved with sysctl...)
>options BEEP_ON_HALT_FREQ - frequency in hz.
>options BEEP_ON_HALT_TIME - duration of tone in msecs.
>
>What do you think?
>
>Thanks!
>
>-- 
>Julio Merino (http://jmmv.dyndns.org/) <jmmv@menta.net>
>
>-=-=-=-=-=-
>[Attachment type=application/octet-stream, name=beep2.diff]
>-=-=-=-=-=-