summaryrefslogtreecommitdiff
path: root/accessibility/speech-dispatcher/files/speechd.in
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/speech-dispatcher/files/speechd.in')
-rw-r--r--accessibility/speech-dispatcher/files/speechd.in37
1 files changed, 0 insertions, 37 deletions
diff --git a/accessibility/speech-dispatcher/files/speechd.in b/accessibility/speech-dispatcher/files/speechd.in
deleted file mode 100644
index d17a7238e706..000000000000
--- a/accessibility/speech-dispatcher/files/speechd.in
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-#
-# PROVIDE: speechd
-# REQUIRE: DAEMON dbus
-#
-# Add the following to /etc/rc.conf to start speech-dispatcher at boot time:
-#
-# speechd_enable="YES"
-#
-
-. /etc/rc.subr
-
-speechd_enable=${speechd_enable-"NO"}
-
-name="speechd"
-rcvar=`set_rcvar`
-
-real_name="speech-dispatcher"
-command="%%PREFIX%%/bin/${real_name}"
-command_args="-C %%ETCDIR%%"
-pidfile="/var/run/${real_name}.pid"
-
-start_precmd="${name}_prestart"
-stop_postcmd="${name}_poststop"
-
-speechd_prestart()
-{
- mkdir -p /var/log/${real_name}
-}
-
-speechd_poststop()
-{
- rm -f $pidfile
-}
-
-load_rc_config $name
-run_rc_command "$1"