a3661c
#
a3661c
# Note that two different ALSA card state management schemes exist and they
a3661c
# can be switched using a file exist check - /etc/alsa/state-daemon.conf .
a3661c
#
a3661c
a3661c
[Unit]
a3661c
Description=Manage Sound Card State (restore and store)
a3661c
ConditionPathExists=/etc/alsa/state-daemon.conf
a3661c
a3661c
[Service]
a3661c
Type=simple
a3661c
ExecStart=-/usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon
a3661c
ExecStop=-/usr/sbin/alsactl -s kill save_and_quit