diff options
| author | Simon Rettberg | 2014-09-29 16:05:00 +0200 |
|---|---|---|
| committer | root | 2014-09-29 16:05:00 +0200 |
| commit | 2dee2021d08a0837ce40941fff43a4b09d692146 (patch) | |
| tree | b56c98d715604d763c458b0d3af792014c80a1ad /remote/modules/alsa/data/etc/systemd | |
| parent | [vmware] Support for 10.0.3 (diff) | |
| download | tm-scripts-2dee2021d08a0837ce40941fff43a4b09d692146.tar.gz tm-scripts-2dee2021d08a0837ce40941fff43a4b09d692146.tar.xz tm-scripts-2dee2021d08a0837ce40941fff43a4b09d692146.zip | |
[alsa] Set default sound card to first non-HDMI card
Diffstat (limited to 'remote/modules/alsa/data/etc/systemd')
| -rw-r--r-- | remote/modules/alsa/data/etc/systemd/system/alsa-default-card.service | 11 | ||||
| l--------- | remote/modules/alsa/data/etc/systemd/system/multi-user.target.wants/alsa-default-card.service | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/remote/modules/alsa/data/etc/systemd/system/alsa-default-card.service b/remote/modules/alsa/data/etc/systemd/system/alsa-default-card.service new file mode 100644 index 00000000..db35eeb7 --- /dev/null +++ b/remote/modules/alsa/data/etc/systemd/system/alsa-default-card.service @@ -0,0 +1,11 @@ +[Unit] +Description=Set default card ALSA will use +DefaultDependencies=no +After=tmp.target +Wants=tmp.target + +[Service] +Type=oneshot +ExecStart=/opt/openslx/scripts/alsa-default_card +RemainAfterExit=yes + diff --git a/remote/modules/alsa/data/etc/systemd/system/multi-user.target.wants/alsa-default-card.service b/remote/modules/alsa/data/etc/systemd/system/multi-user.target.wants/alsa-default-card.service new file mode 120000 index 00000000..55e393fd --- /dev/null +++ b/remote/modules/alsa/data/etc/systemd/system/multi-user.target.wants/alsa-default-card.service @@ -0,0 +1 @@ +../alsa-default-card.service
\ No newline at end of file |
