summaryrefslogtreecommitdiff
path: root/app-accessibility/espeakup/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-03 22:39:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-03 22:39:47 +0100
commit7f0ccc917c7abe6223784c703d86cd14755691fb (patch)
tree8c6793f68896b341e22f33d7e6cef88e481f4a8b /app-accessibility/espeakup/files
parent9aa80713372911cec499b3adb2cd746790920916 (diff)
gentoo resync : 03.07.2021
Diffstat (limited to 'app-accessibility/espeakup/files')
-rw-r--r--app-accessibility/espeakup/files/espeakup.initd18
1 files changed, 18 insertions, 0 deletions
diff --git a/app-accessibility/espeakup/files/espeakup.initd b/app-accessibility/espeakup/files/espeakup.initd
new file mode 100644
index 000000000000..6ef0a339d1c9
--- /dev/null
+++ b/app-accessibility/espeakup/files/espeakup.initd
@@ -0,0 +1,18 @@
+#!/sbin/openrc-run
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+command=/usr/bin/espeakup
+command_args="${espeakup_opts:-${ESPEAKUP_OPTS}}"
+pidfile=/run/espeakup.pid
+
+depend() {
+ after modules
+ use alsasound pulseaudio
+}
+
+start_pre() {
+ [ -f /sys/accessibility/speakup/synth ] &&
+ echo soft > /sys/accessibility/speakup/synth
+ return 0
+}