add missing .service files

This commit is contained in:
Jaroslav Kysela 2011-01-28 14:28:23 +01:00
parent 47deeafb02
commit 8293f4a4d1
2 changed files with 20 additions and 0 deletions

11
alsa-restore.service Normal file
View File

@ -0,0 +1,11 @@
[Unit]
Description=Restore Sound Card State
DefaultDependencies=no
After=sysinit.target
Before=shutdown.target
Conflicts=shutdown.target
[Service]
Type=oneshot
ExecStart=-/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main restore
StandardOutput=syslog

9
alsa-store.service Normal file
View File

@ -0,0 +1,9 @@
[Unit]
Description=Store Sound Card State
DefaultDependencies=no
Before=shutdown.target
[Service]
Type=oneshot
ExecStart=/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf store
StandardOutput=syslog