1
# alsa-store - Store sound card state
3
# This task saves the sound card(s') mixer state(s) to
4
# /var/lib/alsa/asound.state on reboot or shutdown
6
description "Store Sound Card State"
8
start on runlevel [!2345]
10
env ALSACTLHOME=/var/run/alsa
15
if ! test -d $ALSACTLHOME ; then
18
if test -f /var/lib/alsa/state-daemon.conf ; then
23
exec /usr/sbin/alsactl -E HOME="$ALSACTLHOME" store