summaryrefslogtreecommitdiff
path: root/alsactl
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-12-11 23:55:34 +0100
committerTakashi Iwai <tiwai@suse.de>2020-12-11 23:55:34 +0100
commit12487b40b6e7230a003eb6e4333ee820d8578592 (patch)
tree00d304ddd50296ec1e667b2ddd30fd54cecfcbea /alsactl
parentc53f7cd03881092d5a61505d23ab8f920b7faf12 (diff)
downloadalsa-utils-12487b40b6e7230a003eb6e4333ee820d8578592.tar.gz
alsactl: Remove asound.state file check from alsa-restore.service again
We added the check of asound.state file presence some time ago to assure that alsactl gets called only if the state file is already present. Since then, the situation has changed significantly: e.g. now alsactl does initialize if the state file isn't present, and the same alsa-restore.service is used to save the state. This means that we should start this service no matter the state file exists at the boot time or not. So, revert the old change again. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'alsactl')
-rw-r--r--alsactl/alsa-restore.service.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/alsactl/alsa-restore.service.in b/alsactl/alsa-restore.service.in
index a84c2e8..80fd5fd 100644
--- a/alsactl/alsa-restore.service.in
+++ b/alsactl/alsa-restore.service.in
@@ -7,7 +7,6 @@
Description=Save/Restore Sound Card State
ConditionPathExists=!@daemonswitch@
ConditionPathExistsGlob=/dev/snd/control*
-ConditionPathExists=@asoundrcfile@
[Service]
Type=oneshot