Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions alsactl/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,6 @@ systemdsystemunit_DATA = \
conf/alsa-restore.service \
conf/alsa-card-wait@.service

install-data-hook:
$(MKDIR_P) -m 0755 \
$(DESTDIR)$(systemdsystemunitdir)/sound.target.wants
( cd $(DESTDIR)$(systemdsystemunitdir)/sound.target.wants && \
rm -f alsa-state.service alsa-restore.service && \
$(LN_S) ../alsa-state.service alsa-state.service && \
$(LN_S) ../alsa-restore.service alsa-restore.service)

endif

edit = \
Expand Down
3 changes: 3 additions & 0 deletions alsactl/conf/alsa-restore.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ Type=oneshot
RemainAfterExit=true
ExecStart=-@sbindir@/alsactl restore
ExecStop=-@sbindir@/alsactl store

[Install]
WantedBy=sound.target
3 changes: 3 additions & 0 deletions alsactl/conf/alsa-state.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ ConditionPathExists=@daemonswitch@
Type=simple
ExecStart=-@sbindir@/alsactl -s -n 19 -c rdaemon
ExecStop=-@sbindir@/alsactl -s kill save_and_quit

[Install]
WantedBy=sound.target