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/lirc/files
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/lirc/files')
-rw-r--r--app-misc/lirc/files/lircmd19
1 files changed, 19 insertions, 0 deletions
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 $?
+}