From owner-freebsd-current Mon Aug 9 2:59:15 1999 Delivered-To: freebsd-current@freebsd.org Received: from arthur.caida.org (arthur.caida.org [204.212.46.6]) by hub.freebsd.org (Postfix) with ESMTP id AE286151A9; Mon, 9 Aug 1999 02:59:05 -0700 (PDT) (envelope-from dwm@arthur.caida.org) Received: from arthur.caida.org (localhost.caida.org [127.0.0.1]) by arthur.caida.org (8.9.0/8.9.0.Beta5) with ESMTP id FAA74200; Mon, 9 Aug 1999 05:56:58 -0400 (EDT) Message-Id: <199908090956.FAA74200@arthur.caida.org> Location: CAIDA Ann Arbor, MI To: Alex Zepeda Cc: "Daniel O'Connor" , current@FreeBSD.ORG, multimedia@FreeBSD.ORG, Cameron Grant , Kenneth Wayne Culver , "Brian F. Feldman" Subject: Re: it's time... In-reply-to: Message from of Mon Aug 9, 1999 2:15 PDT Date: Mon, 09 Aug 1999 05:56:58 -0400 From: Daniel McRobb Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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-current" in the body of the message