3 # $DragonFly: src/etc/rc.d/mixer,v 1.8 2005/11/19 21:47:32 swildner Exp $
15 start_cmd
="mixer_start"
17 mixer_conf
=/etc
/mixer.conf
21 if [ -r $mixer_conf ]; then
22 echo "Loading mixer settings"
23 cat $mixer_conf|
xargs mixer
29 [ -z "$mixer_conf" ] && return
30 if [ -w $mixer_conf -o \
( ! -e $mixer_conf -a -w `dirname $mixer_conf` \
) ]; then
31 echo "Storing mixer settings"
32 mixer
-s > $mixer_conf