summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2004-08-01 22:10:58 +0000
committerHeinrich Wendel <lanius@gentoo.org>2004-08-01 22:10:58 +0000
commit25a840c85a9693de8e0099bc9623104dbf9178b8 (patch)
tree440fd7a2e30576de264acc56036763b15d53bbea /app-misc
parentmask prelude (diff)
downloadgentoo-2-25a840c85a9693de8e0099bc9623104dbf9178b8.tar.gz
gentoo-2-25a840c85a9693de8e0099bc9623104dbf9178b8.tar.bz2
gentoo-2-25a840c85a9693de8e0099bc9623104dbf9178b8.zip
add lircmd init script, bug #17167
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/lirc/ChangeLog5
-rw-r--r--app-misc/lirc/files/lircmd19
-rw-r--r--app-misc/lirc/lirc-0.7.0_pre7.ebuild3
3 files changed, 25 insertions, 2 deletions
diff --git a/app-misc/lirc/ChangeLog b/app-misc/lirc/ChangeLog
index e6c63c02c9e7..11d3bd4d8e8f 100644
--- a/app-misc/lirc/ChangeLog
+++ b/app-misc/lirc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-misc/lirc
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.32 2004/08/01 22:07:51 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.33 2004/08/01 22:10:58 lanius Exp $
+
+ 02 Aug 2004; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre7.ebuild:
+ add lircmd init script, bug #17167
*lirc-0.7.0_pre7 (02 Aug 2004)
diff --git a/app-misc/lirc/files/lircmd b/app-misc/lirc/files/lircmd
new file mode 100644
index 000000000000..3332e8e047d2
--- /dev/null
+++ b/app-misc/lirc/files/lircmd
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+depend() {
+ need lircd
+}
+
+start() {
+ ebegin "Starting lircmd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/lircmd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping lircmd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/lircmd
+ eend $?
+}
diff --git a/app-misc/lirc/lirc-0.7.0_pre7.ebuild b/app-misc/lirc/lirc-0.7.0_pre7.ebuild
index 1dbc0184cbd3..6d86305c4b65 100644
--- a/app-misc/lirc/lirc-0.7.0_pre7.ebuild
+++ b/app-misc/lirc/lirc-0.7.0_pre7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.7.0_pre7.ebuild,v 1.1 2004/08/01 22:07:51 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.7.0_pre7.ebuild,v 1.2 2004/08/01 22:10:58 lanius Exp $
inherit eutils kmod
@@ -90,6 +90,7 @@ src_install() {
exeinto /etc/init.d
doexe ${FILESDIR}/lircd
+ doexe ${FILESDIR}/lircmd
insinto /etc/conf.d
newins ${FILESDIR}/lircd.conf lircd