summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2013-06-22 15:56:17 +0000
committerWilliam Hubbs <williamh@gentoo.org>2013-06-22 15:56:17 +0000
commit905674d1f04ac649c104a35af529e0714581beba (patch)
tree2745a78ae6b200e3b3be3536a0010e004ee0fb85 /app-accessibility/brltty/files
parentApply libav9 patch wrt last commit, i added it to cvs but not to the ebuild. ... (diff)
downloadgentoo-2-905674d1f04ac649c104a35af529e0714581beba.tar.gz
gentoo-2-905674d1f04ac649c104a35af529e0714581beba.tar.bz2
gentoo-2-905674d1f04ac649c104a35af529e0714581beba.zip
uncomment keywords, migrate to eapi 5, update init script and fix python dependency (brltty 4.5 uses cython instead of pyrex).
(Portage version: 2.2.0_alpha183/cvs/Linux i686, signed Manifest commit with key 0x30C46538)
Diffstat (limited to 'app-accessibility/brltty/files')
-rw-r--r--app-accessibility/brltty/files/brltty.rc22
1 files changed, 6 insertions, 16 deletions
diff --git a/app-accessibility/brltty/files/brltty.rc b/app-accessibility/brltty/files/brltty.rc
index ab3f5ac05761..6001ad31a8dd 100644
--- a/app-accessibility/brltty/files/brltty.rc
+++ b/app-accessibility/brltty/files/brltty.rc
@@ -1,23 +1,13 @@
#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/files/brltty.rc,v 1.4 2009/11/01 18:41:06 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/files/brltty.rc,v 1.5 2013/06/22 15:56:17 williamh Exp $
+
+command=/bin/brltty
+pidfile=/var/run/brltty.pid
+command_args="-P $pidfile -q"
depend() {
- if [ -z $svcdir ]; then
before *
- fi
after clock
}
-
-start() {
- ebegin "Starting brltty"
- start-stop-daemon --start --exec /bin/brltty -- -P /var/run/brltty.pid -q
- eend $?
-}
-
-stop() {
- ebegin "Stopping brltty"
- start-stop-daemon --stop --pidfile /var/run/brltty.pid
- eend $?
-}