Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/lm_sensors/files: sensord-4-init.d
Date: Thu, 31 Jan 2013 15:37:54
Message-Id: 20130131153750.8D6062171D@flycatcher.gentoo.org
1 flameeyes 13/01/31 15:37:50
2
3 Modified: sensord-4-init.d
4 Log:
5 Fix sensord init script that was typoed (thanks to Gordon Pritchard for the report); make it use /run directly, overriding the default pid file location. Remove unused for the slot.
6
7 (Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
8
9 Revision Changes Path
10 1.2 sys-apps/lm_sensors/files/sensord-4-init.d
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lm_sensors/files/sensord-4-init.d?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lm_sensors/files/sensord-4-init.d?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lm_sensors/files/sensord-4-init.d?r1=1.1&r2=1.2
15
16 Index: sensord-4-init.d
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/files/sensord-4-init.d,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- sensord-4-init.d 28 Dec 2012 00:00:03 -0000 1.1
23 +++ sensord-4-init.d 31 Jan 2013 15:37:50 -0000 1.2
24 @@ -1,7 +1,7 @@
25 #!/sbin/runscript
26 -# Copyright 1999-2012 Gentoo Foundation
27 +# Copyright 1999-2013 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/files/sensord-4-init.d,v 1.1 2012/12/28 00:00:03 flameeyes Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/files/sensord-4-init.d,v 1.2 2013/01/31 15:37:50 flameeyes Exp $
31
32 CONFIG=/etc/sensors3.conf
33
34 @@ -10,9 +10,9 @@
35 use logger lm_sensors
36 }
37
38 -command=/usr/sbin/sensorsd
39 -command_arguments="--config-file ${CONFIG} ${SENSORSD_OPTIONS}"
40 -pidfile=/var/run/sensorsd.pid
41 +pidfile=/run/sensord.pid
42 +command=/usr/sbin/sensord
43 +command_arguments="--config-file ${CONFIG} ${SENSORSD_OPTIONS} --pid-file ${pidfile}"
44
45 start_pre() {
46 if [ ! -f ${CONFIG} ]; then