DragonFly BSD
DragonFly kernel List (threaded) for 2004-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ideas 3


From: Steve O'Hara-Smith <steveo@xxxxxxxxxx>
Date: Wed, 11 Aug 2004 14:57:48 +0100

On Wed, 11 Aug 2004 12:48:52 +0200
Ed <df@xxxxxx> wrote:

> I think it could be good to include a way to save mixer volume levels across 
> reboots. I think FreeBSD 5.3 already does this, but I don't know if DF has 
> already ported that.

	I don't know about FreeBSD 5.3 but here is a the mixer.sh script for
/usr/local/etc/rc.d that I use under 4.10

#! /bin/sh 
MIXER_FILE=/usr/local/etc/mixer.vals

case "$1" in
start)
        if [ -f "$MIXER_FILE" ]
        then
                mixer `cat $MIXER_FILE`
        fi
        ;;
stop)
        mixer -s > $MIXER_FILE
        ;;
esac

exit 0

-- 
C:>WIN                                      |   Directable Mirror Arrays
The computer obeys and wins.                | A better way to focus the sun
You lose and Bill collects.                 |    licences available see
                                            |    http://www.sohara.org/



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]