Imported Upstream version 1.0.28
[platform/upstream/alsa-utils.git] / alsactl / alsa-restore.service.in
index e97d196..245a439 100644 (file)
@@ -1,7 +1,13 @@
+#
+# 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=Restore Sound Card State
+ConditionPathExists=!@daemonswitch@
 DefaultDependencies=no
-After=sysinit.target
+After=alsa-state.service
 Before=shutdown.target
 Conflicts=shutdown.target