From dee9f17b595ea903a982d31d1124b302bb17e2ff Mon Sep 17 00:00:00 2001 From: root Date: Wed, 17 Jul 2013 00:58:52 -0700 Subject: Wed Jul 17 00:58:51 PDT 2013 --- community/linux-tools/cpupower.systemd | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 community/linux-tools/cpupower.systemd (limited to 'community/linux-tools/cpupower.systemd') diff --git a/community/linux-tools/cpupower.systemd b/community/linux-tools/cpupower.systemd deleted file mode 100644 index 51c645415..000000000 --- a/community/linux-tools/cpupower.systemd +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -. /etc/default/cpupower - -declare -i fail=0 - -# parse frequency options -declare -a params=() -params+=(${governor:+-g $governor}) -params+=(${min_freq:+-d $min_freq}) -params+=(${max_freq:+-u $max_freq}) -params+=(${freq:+-f $freq}) - -# apply frequency options -if ((${#params[@]} > 0)); then - cpupower frequency-set "${params[@]}" >/dev/null || fail=1 -fi - -# parse cpu options -declare -a params=() -params+=(${mc_scheduler:+-m $mc_scheduler}) -params+=(${smp_scheduler:+-s $smp_scheduler}) -params+=(${perf_bias:+-b $perf_bias}) - -# apply cpu options -if ((${#params[@]} > 0)); then - cpupower set "${params[@]}" >/dev/null || fail=1 -fi - -exit $fail - -# vim:set ts=2 sw=2 ft=sh et: -- cgit v1.2.3-54-g00ecf