From cec14d8b50f55fd077550f57988de41b0e1b4d63 Mon Sep 17 00:00:00 2001 From: Alexander Epaneshnikov Date: Tue, 29 Mar 2022 18:24:16 +0300 Subject: add needed files this fixes #167 --- .../releng/airootfs/etc/systemd/system/pacmanbeeper.service | 13 +++++++++++++ .../systemd/system/sound.target.wants/pacmanbeeper.service | 1 + 2 files changed, 14 insertions(+) create mode 100644 configs/releng/airootfs/etc/systemd/system/pacmanbeeper.service create mode 120000 configs/releng/airootfs/etc/systemd/system/sound.target.wants/pacmanbeeper.service (limited to 'configs/releng/airootfs/etc/systemd') diff --git a/configs/releng/airootfs/etc/systemd/system/pacmanbeeper.service b/configs/releng/airootfs/etc/systemd/system/pacmanbeeper.service new file mode 100644 index 0000000..8a6a41e --- /dev/null +++ b/configs/releng/airootfs/etc/systemd/system/pacmanbeeper.service @@ -0,0 +1,13 @@ +[Unit] +Description=Play pacman tune +# for playing alert tunes via the built-in PC speaker (KDMKTONE, KIOCSOUND) +Wants=modprobe@pcspkr.service +After=modprobe@pcspkr.service + +[Service] +User=beep +Type=oneshot +ExecStart=/usr/local/bin/pacman-beep.sh + +[Install] +WantedBy=sound.target diff --git a/configs/releng/airootfs/etc/systemd/system/sound.target.wants/pacmanbeeper.service b/configs/releng/airootfs/etc/systemd/system/sound.target.wants/pacmanbeeper.service new file mode 120000 index 0000000..fc5ade0 --- /dev/null +++ b/configs/releng/airootfs/etc/systemd/system/sound.target.wants/pacmanbeeper.service @@ -0,0 +1 @@ +../pacmanbeeper.service \ No newline at end of file -- cgit v1.2.3-70-g09d2