diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-12-07 15:02:31 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-12-07 15:02:31 +0000 |
commit | 8736f458a17a03cf79a763a0c8122f93162fed71 (patch) | |
tree | fba97f22de8410ee5df8985e6c98756093578100 /community/cpupower/rc | |
parent | d1d87d2ac643e3dabc251f3cec7d3b00e29b282c (diff) |
Wed Dec 7 15:02:27 UTC 2011
Diffstat (limited to 'community/cpupower/rc')
-rw-r--r-- | community/cpupower/rc | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/community/cpupower/rc b/community/cpupower/rc deleted file mode 100644 index 812637b61..000000000 --- a/community/cpupower/rc +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -[[ -f /etc/conf.d/cpupower ]] && . /etc/conf.d/cpupower - -case "$1" in - start|restart) - stat_busy "Setting cpupower rules" - - declare params='' - if [[ "$governor" ]]; then - params="-g $governor " - params+="${min_freq:+-d $min_freq} " - params+="${max_freq:+-u $max_freq} " - params+="${freq:+-f $freq} " - cpupower frequency-set $params >/dev/null || { stat_fail; exit 1; } - stat_done - else - stat_append ': Invalid configuration' - stat_fail - fi - ;; - *) - echo "usage: $0 {start|restart}" -esac - -true - -# vim:set ts=2 sw=2 ft=sh et: |