ideas 3
Steve O'Hara-Smith
steveo at eircom.net
Wed Aug 11 06:57:48 PDT 2004
On Wed, 11 Aug 2004 12:48:52 +0200
Ed <df at 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/
More information about the Kernel
mailing list