summaryrefslogtreecommitdiff
path: root/alsactl/alsa-state.service.in
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2013-04-10 10:23:16 +0200
committerJaroslav Kysela <perex@perex.cz>2013-04-10 10:29:19 +0200
commit8b34bf25c02693899b03768b0eef628eb1d7bb6e (patch)
tree69e4a60eb54b033f17029dc5aa6d39d4a825ec59 /alsactl/alsa-state.service.in
parent611249ae26f435429dbe1894e210704a723ee277 (diff)
downloadalsa-utils-8b34bf25c02693899b03768b0eef628eb1d7bb6e.tar.gz
alsactl: revert back old systemd static units with the /etc/alsa/state-daemon.conf switch
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'alsactl/alsa-state.service.in')
-rw-r--r--alsactl/alsa-state.service.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/alsactl/alsa-state.service.in b/alsactl/alsa-state.service.in
index fc9914b..94d138b 100644
--- a/alsactl/alsa-state.service.in
+++ b/alsactl/alsa-state.service.in
@@ -1,5 +1,11 @@
+#
+# 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 .
+#
+
[Unit]
Description=Manage Sound Card State (restore and store)
+ConditionPathExists=/etc/alsa/state-daemon.conf
DefaultDependencies=no
After=sysinit.target
Before=shutdown.target