Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Aug 1999 05:56:58 -0400
From:      Daniel McRobb <dwm@caida.org>
To:        Alex Zepeda <garbanzo@hooked.net>
Cc:        "Daniel O'Connor" <doconnor@gsoft.com.au>, current@FreeBSD.ORG, multimedia@FreeBSD.ORG, Cameron Grant <gandalf@vilnya.demon.co.uk>, Kenneth Wayne Culver <culverk@wam.umd.edu>, "Brian F. Feldman" <green@FreeBSD.ORG>
Subject:   Re: it's time... 
Message-ID:  <199908090956.FAA74200@arthur.caida.org>
In-Reply-To: Message from <garbanzo@hooked.net> of Mon Aug 9, 1999 2:15 PDT <Pine.BSI.3.95.990809021416.24467B-100000@fish.hooked.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> On Mon, 9 Aug 1999, Daniel O'Connor wrote:
> 
> > You could do it something like the way boot -c stuff or the splash screen is
> > done, ie load a 'module' which is just a text file for the sound system to
> > parse..
> > 
> > Don't know how you'd go unload'ing and load'ing the file though.
> 
> Why that complex?  Couldn't I just drop in a small script using awk and
> sh, to grab the mixer volumes, and drop it in rc.shutdown?  Or even a
> small C program would suffice if scripting isn't your cup of tea. 
> 
> - alex

As far as I know, rc.shutdown doesn't get run unless you go to single
user mode (for example, 'shutdown -h now' will not cause init to run
rc.shutdown).

Personally, I put my mixer settings in ~/.mixerrc, and load/save values
there by running a script from ~/.xinitrc (load before starting window
manager, save after window manager exits).  But I never have a real need
to use audio when I'm not running X (and no need to have any mixer
settings before logon).

Daniel
~~~~~~


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908090956.FAA74200>