Blame SOURCES/alsa-restore.service

d45be0
#
d45be0
# Note that two different ALSA card state management schemes exist and they
d45be0
# can be switched using a file exist check - /etc/alsa/state-daemon.conf .
d45be0
#
d45be0
d45be0
[Unit]
d45be0
Description=Save/Restore Sound Card State
d45be0
ConditionPathExists=!/etc/alsa/state-daemon.conf
d45be0
d45be0
[Service]
d45be0
Type=oneshot
d45be0
RemainAfterExit=true
d45be0
ExecStart=-/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main restore
d45be0
ExecStop=/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf store
d45be0
StandardOutput=syslog