> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message