1 |
fauli 09/10/04 18:48:30 |
2 |
|
3 |
Added: lircd-0.8.6 |
4 |
Log: |
5 |
Revision bump that will fix some new and some old issues: |
6 |
* Merge mceusb and mceusb2 driver (bug 286269 by candrews AT |
7 |
integralblue DOT com) |
8 |
* New init.d file that will keep the old socket location so we don't |
9 |
break all applications (thanks to Oldrich Jedlicka <oldium DOT pro AT |
10 |
seznam DOT |
11 |
cz> in bug 286451) |
12 |
* Add new ene0100 device |
13 |
* Correct entry for iguanaIR device (bug 208785 by MasterC |
14 |
<MasterCLC AT gmail DOT com>) |
15 |
* Fix DEPEND and RDEPEND relations |
16 |
(Portage version: 2.1.6.13/cvs/Linux i686) |
17 |
|
18 |
Revision Changes Path |
19 |
1.1 app-misc/lirc/files/lircd-0.8.6 |
20 |
|
21 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lirc/files/lircd-0.8.6?rev=1.1&view=markup |
22 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lirc/files/lircd-0.8.6?rev=1.1&content-type=text/plain |
23 |
|
24 |
Index: lircd-0.8.6 |
25 |
=================================================================== |
26 |
#!/sbin/runscript |
27 |
# Copyright 1999-2004 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/lircd-0.8.6,v 1.1 2009/10/04 18:48:29 fauli Exp $ |
30 |
|
31 |
PIDFILE=/var/run/lirc/${SVCNAME}.pid |
32 |
LIRCD_SYMLINKFILE=/dev/lircd |
33 |
LIRCD_SOCKET=/var/run/lirc/lircd |
34 |
|
35 |
depend() { |
36 |
provide lirc |
37 |
} |
38 |
|
39 |
start() { |
40 |
local retval |
41 |
ebegin "Starting lircd" |
42 |
rm -f ${LIRCD_SOCKET} && ln -s ${LIRCD_SOCKET} ${LIRCD_SYMLINKFILE} |
43 |
if [ $? -ne 0 ]; then |
44 |
eend $? "Unable to create symbolic link ${LIRCD_SYMLINKFILE}" |
45 |
return 1 |
46 |
fi |
47 |
|
48 |
start-stop-daemon --start --quiet --pidfile "${PIDFILE}" --exec /usr/sbin/lircd -- \ |
49 |
-P "${PIDFILE}" ${LIRCD_OPTS} |
50 |
retval=$? |
51 |
|
52 |
if [ ${retval} -ne 0 ]; then |
53 |
rm -f ${LIRCD_SOCKET} |
54 |
fi |
55 |
|
56 |
eend ${retval} |
57 |
} |
58 |
|
59 |
stop() { |
60 |
ebegin "Stopping lircd" |
61 |
rm -f ${LIRCD_SYMLINKFILE} |
62 |
start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" --exec /usr/sbin/lircd |
63 |
eend $? |
64 |
} |