From 8293f4a4d1a1decfeec64baf8884f00a10a64cf3 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 28 Jan 2011 14:28:23 +0100 Subject: [PATCH] add missing .service files --- alsa-restore.service | 11 +++++++++++ alsa-store.service | 9 +++++++++ 2 files changed, 20 insertions(+) create mode 100644 alsa-restore.service create mode 100644 alsa-store.service diff --git a/alsa-restore.service b/alsa-restore.service new file mode 100644 index 0000000..2cffc7c --- /dev/null +++ b/alsa-restore.service @@ -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 diff --git a/alsa-store.service b/alsa-store.service new file mode 100644 index 0000000..5995e06 --- /dev/null +++ b/alsa-store.service @@ -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