aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power/cpufrequtils/files/cpufrequtils-init.d-007')
-rw-r--r--sys-power/cpufrequtils/files/cpufrequtils-init.d-00718
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-power/cpufrequtils/files/cpufrequtils-init.d-007 b/sys-power/cpufrequtils/files/cpufrequtils-init.d-007
new file mode 100644
index 0000000..a17c4a4
--- /dev/null
+++ b/sys-power/cpufrequtils/files/cpufrequtils-init.d-007
@@ -0,0 +1,18 @@
+#!/sbin/runscript
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/files/cpufrequtils-init.d-007,v 1.2 2013/05/06 11:09:09 lxnay Exp $
+
+change() {
+ ebegin "Running cpufreq-set ${*}"
+ /usr/libexec/cpufrequtils-change.sh "${@}" > /dev/null
+ eend $?
+}
+
+start() {
+ change ${START_OPTS} -- ${SYSFS_EXTRA}
+}
+
+stop() {
+ change "${STOP_OPTS}"
+}