diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2004-08-01 22:10:58 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2004-08-01 22:10:58 +0000 |
commit | 25a840c85a9693de8e0099bc9623104dbf9178b8 (patch) | |
tree | 440fd7a2e30576de264acc56036763b15d53bbea /app-misc/lirc/files | |
parent | mask prelude (diff) | |
download | gentoo-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/lircmd | 19 |
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 $? +} |