2013-04-10 10:23:16 +02:00
|
|
|
#
|
|
|
|
# Note that two different ALSA card state management schemes exist and they
|
|
|
|
# can be switched using a file exist check - /etc/alsa/state-daemon.conf .
|
|
|
|
#
|
|
|
|
|
2013-04-08 14:49:31 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Manage Sound Card State (restore and store)
|
2013-04-10 11:08:47 +02:00
|
|
|
ConditionPathExists=@daemonswitch@
|
2013-04-08 14:49:31 +02:00
|
|
|
DefaultDependencies=no
|
|
|
|
After=sysinit.target
|
|
|
|
Before=shutdown.target
|
|
|
|
Conflicts=shutdown.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2013-04-10 09:42:40 +02:00
|
|
|
ExecStart=-@sbindir@/alsactl -s -n 19 -c rdaemon
|
2013-07-19 14:36:52 +02:00
|
|
|
ExecStop=-@sbindir@/alsactl -s kill save_and_quit
|