Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-power/acpid/files: acpid-2.0.3-init.d
Date: Sun, 04 Apr 2010 16:39:14
Message-Id: E1NySqr-00049L-Od@stork.gentoo.org
1 ssuominen 10/04/04 16:39:09
2
3 Added: acpid-2.0.3-init.d
4 Log:
5 Don't check for /proc/acpi anymore wrt #295854.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sys-power/acpid/files/acpid-2.0.3-init.d
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/acpid/files/acpid-2.0.3-init.d?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/acpid/files/acpid-2.0.3-init.d?rev=1.1&content-type=text/plain
13
14 Index: acpid-2.0.3-init.d
15 ===================================================================
16 #!/sbin/runscript
17 # Copyright 1999-2010 Gentoo Foundation
18 # Distributed under the terms of the GNU General Public License v2
19 # $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/files/acpid-2.0.3-init.d,v 1.1 2010/04/04 16:39:09 ssuominen Exp $
20
21 opts="reload"
22
23 depend() {
24 need localmount
25 use logger
26 before hald
27 }
28
29 start() {
30 ebegin "Starting acpid"
31 start-stop-daemon --start --quiet --exec /usr/sbin/acpid -- ${ACPID_OPTIONS}
32 eend $?
33 }
34
35 stop() {
36 ebegin "Stopping acpid"
37 start-stop-daemon --stop --exec /usr/sbin/acpid
38 eend $?
39 }
40
41 reload() {
42 ebegin "Reloading acpid configuration"
43 start-stop-daemon --stop --oknodo --exec /usr/sbin/acpid --signal HUP
44 eend $?
45 }