aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/cpupower-rt
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cpupower-rt')
-rwxr-xr-xscripts/cpupower-rt32
1 files changed, 0 insertions, 32 deletions
diff --git a/scripts/cpupower-rt b/scripts/cpupower-rt
deleted file mode 100755
index d775d68..0000000
--- a/scripts/cpupower-rt
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash
-
-. /etc/default/cpupower-rt
-
-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: