Subject: Re: /etc/rc.d/mixerctl
To: TAMURA Kent <kent@netbsd.org>
From: Julio Merino <jmmv@menta.net>
List: tech-userlevel
Date: 10/11/2002 12:50:19
On Fri, 11 Oct 2002 18:44:35 +0900 (JST)
TAMURA Kent <kent@netbsd.org> wrote:

> > Two comments:
> >   - The save and restore should be configurable (in rc.conf or whatever).
> >     User may like to see the default values after reboot.
> > 
> >   - Only one device (mixer0) is saved and restored.
> >     It's nice if it can be configured to handle more than one devices.
> 
> Ok, I merged Julio's scirpt in misc/15648.
> 
> * If only mixerctl=YES:
> 	It works as ever.  It simply sets /etc/mixerctl.conf to /dev/mixer.
> * If mixerctl=YES and savedmixers="mixer0 mixer2 blahblah":
> 	It saves and restores each mixer in $savedmixers.
> 	/etc/mixerctl.conf affects as ever.

Just one thing. I think savedmixers should be prefixed with script's name,
like `mixerctl_savedmixers' or something like this... And this variable
should also appear in rc.conf (commented).

Thanks!

-- 
Julio Merino (http://jmmv.dyndns.org/) <jmmv@menta.net>