aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power/cpufrequtils/files/cpufrequtils-init.d-008')
-rw-r--r--sys-power/cpufrequtils/files/cpufrequtils-init.d-00818
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-power/cpufrequtils/files/cpufrequtils-init.d-008 b/sys-power/cpufrequtils/files/cpufrequtils-init.d-008
new file mode 100644
index 0000000..5d48361
--- /dev/null
+++ b/sys-power/cpufrequtils/files/cpufrequtils-init.d-008
@@ -0,0 +1,18 @@
+#!/sbin/openrc-run
+# 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}"
+}