diff options
author | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-06-18 19:40:10 +0000 |
---|---|---|
committer | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-06-18 19:40:10 +0000 |
commit | e7edf4f859009bb51a6f30b3364ba1392781ca1c (patch) | |
tree | 724e172d019fb589a847b012af67eb448df9cf6c /packages/lirc | |
parent | 0fe3c7652480d9e3190f8cae327467782a0ac55d (diff) |
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/06/18 20:25:14+01:00 reciva.com!pb
remove some old, broken xservers
2005/06/18 20:18:41+01:00 reciva.com!pb
check for lircd in ${sbindir}
2005/06/18 19:54:54+01:00 reciva.com!pb
update linux-epia to 2.6.12; disable in-kernel drm
BKrev: 42b4789aqSGQUoxkKdKTSUl7RQyMug
Diffstat (limited to 'packages/lirc')
-rw-r--r-- | packages/lirc/files/lircd.init | 38 | ||||
-rw-r--r-- | packages/lirc/lirc_0.7.1.bb | 2 |
2 files changed, 39 insertions, 1 deletions
diff --git a/packages/lirc/files/lircd.init b/packages/lirc/files/lircd.init index e69de29bb2..e549b7ede9 100644 --- a/packages/lirc/files/lircd.init +++ b/packages/lirc/files/lircd.init @@ -0,0 +1,38 @@ +#! /bin/sh +# +# This is an init script for Familiar +# Copy it to /etc/init.d/lirc and type +# > update-rc.d lirc defaults 20 +# + + +test -f /usr/sbin/lircd || exit 0 + +case "$1" in + start) + echo -n "Starting lirc daemon: lircd" + start-stop-daemon --start --quiet --exec /usr/bin/lircd -- --device=/dev/lirc + echo "." + ;; + stop) + echo -n "Stopping lirc daemon: lircd" + start-stop-daemon --stop --quiet --exec /usr/bin/lircd + echo "." + ;; + reload|force-reload) + start-stop-daemon --stop --quiet --signal 1 --exec /usr/bin/lircd + ;; + restart) + echo -n "Stopping lirc daemon: lircd" + start-stop-daemon --stop --quiet --exec /usr/bin/lircd + sleep 1 + echo -n "Starting lirc daemon: lircd" + start-stop-daemon --start --quiet --exec /usr/bin/lircd -- --device=/dev/lirc + echo "." + ;; + *) + echo "Usage: /etc/init.d/lircd {start|stop|reload|restart|force-reload}" + exit 1 +esac + +exit 0 diff --git a/packages/lirc/lirc_0.7.1.bb b/packages/lirc/lirc_0.7.1.bb index fd3f89046d..a946d3cdb0 100644 --- a/packages/lirc/lirc_0.7.1.bb +++ b/packages/lirc/lirc_0.7.1.bb @@ -4,7 +4,7 @@ PRIORITY = "optional" MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" LICENSE = "GPL" DEPENDS = "virtual/kernel" -PR = "r1" +PR = "r2" SRC_URI = "${SOURCEFORGE_MIRROR}/lirc/lirc-${PV}.tar.gz \ file://lircd.init file://lircmd.init" |