Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-power/cpufrequtils/files: cpufrequtils-init.d-005 cpufrequtils-conf.d-005
Date: Mon, 20 Oct 2008 16:05:16
Message-Id: E1KrxFq-00054u-JS@stork.gentoo.org
1 vapier 08/10/20 16:05:14
2
3 Added: cpufrequtils-init.d-005 cpufrequtils-conf.d-005
4 Log:
5 Version bump #228701 by Dennis Schridde and a more flexible init.d script by me #182049 by Jakub Zawadzki.
6 (Portage version: 2.2_rc12/cvs/Linux 2.6.26.2 x86_64)
7
8 Revision Changes Path
9 1.1 sys-power/cpufrequtils/files/cpufrequtils-init.d-005
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/cpufrequtils/files/cpufrequtils-init.d-005?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/cpufrequtils/files/cpufrequtils-init.d-005?rev=1.1&content-type=text/plain
13
14 Index: cpufrequtils-init.d-005
15 ===================================================================
16 #!/sbin/runscript
17 # Copyright 1999-2006 Gentoo Foundation
18 # Distributed under the terms of the GNU General Public License v2
19 # $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/files/cpufrequtils-init.d-005,v 1.1 2008/10/20 16:05:14 vapier Exp $
20
21 start() {
22 ebegin "Running cpufreq-set ${START_OPTS}"
23 cpufreq-set ${START_OPTS}
24 eend $?
25 }
26
27 start() {
28 ebegin "Running cpufreq-set ${START_OPTS}"
29 cpufreq-set ${STOP_OPTS}
30 eend $?
31 }
32
33
34
35 1.1 sys-power/cpufrequtils/files/cpufrequtils-conf.d-005
36
37 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/cpufrequtils/files/cpufrequtils-conf.d-005?rev=1.1&view=markup
38 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/cpufrequtils/files/cpufrequtils-conf.d-005?rev=1.1&content-type=text/plain
39
40 Index: cpufrequtils-conf.d-005
41 ===================================================================
42 # /etc/conf.d/cpufrequtils: config file for /etc/init.d/cpufrequtils
43
44 # Options when starting cpufreq (given to the `cpufreq-set` program)
45 START_OPTS="--governor ondemand"
46
47 # Options when stopping cpufreq (given to the `cpufreq-set` program)
48 STOP_OPTS="--governor performance"