summaryrefslogtreecommitdiff
path: root/libre/linux-libre-tools
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-28 03:27:16 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-28 03:27:16 +0000
commit462391357aa5e749dc9908c15f3baa0b4416f3d8 (patch)
tree11d4d3f054aae9ffd869adc634054f64a16d83b8 /libre/linux-libre-tools
parent748e32a3a886569b58a27003e85b76be5746153d (diff)
Tue Jan 28 03:22:21 UTC 2014
Diffstat (limited to 'libre/linux-libre-tools')
-rw-r--r--libre/linux-libre-tools/cpupower.default29
-rw-r--r--libre/linux-libre-tools/cpupower.install13
-rw-r--r--libre/linux-libre-tools/cpupower.service10
-rw-r--r--libre/linux-libre-tools/cpupower.systemd32
-rw-r--r--libre/linux-libre-tools/usbipd.service9
5 files changed, 0 insertions, 93 deletions
diff --git a/libre/linux-libre-tools/cpupower.default b/libre/linux-libre-tools/cpupower.default
deleted file mode 100644
index b5c522ea1..000000000
--- a/libre/linux-libre-tools/cpupower.default
+++ /dev/null
@@ -1,29 +0,0 @@
-# Define CPUs governor
-# valid governors: ondemand, performance, powersave, conservative, userspace.
-#governor='ondemand'
-
-# Limit frequency range
-# Valid suffixes: Hz, kHz (default), MHz, GHz, THz
-#min_freq="2.25GHz"
-#max_freq="3GHz"
-
-# Specific frequency to be set.
-# Requires userspace governor to be available.
-# Do not set governor field if you use this one.
-#freq=
-
-# Utilizes cores in one processor package/socket first before processes are
-# scheduled to other processor packages/sockets.
-# See man (1) CPUPOWER-SET for additional details.
-#mc_scheduler=
-
-# Utilizes thread siblings of one processor core first before processes are
-# scheduled to other cores. See man (1) CPUPOWER-SET for additional details.
-#smp_scheduler=
-
-# Sets a register on supported Intel processore which allows software to convey
-# its policy for the relative importance of performance versus energy savings to
-# the processor. See man (1) CPUPOWER-SET for additional details.
-#perf_bias=
-
-# vim:set ts=2 sw=2 ft=sh et:
diff --git a/libre/linux-libre-tools/cpupower.install b/libre/linux-libre-tools/cpupower.install
deleted file mode 100644
index 10e07ae52..000000000
--- a/libre/linux-libre-tools/cpupower.install
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- if [ "$(vercmp $2 3.7-4)" -le 0 ]; then
- cat << EOF
-===> cpupower startup config file moved to /etc/default/cpupower
-EOF
- fi
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
diff --git a/libre/linux-libre-tools/cpupower.service b/libre/linux-libre-tools/cpupower.service
deleted file mode 100644
index aaeba2b08..000000000
--- a/libre/linux-libre-tools/cpupower.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Apply cpupower configuration
-
-[Service]
-Type=oneshot
-ExecStart=/usr/lib/systemd/scripts/cpupower
-RemainAfterExit=yes
-
-[Install]
-WantedBy=multi-user.target
diff --git a/libre/linux-libre-tools/cpupower.systemd b/libre/linux-libre-tools/cpupower.systemd
deleted file mode 100644
index 51c645415..000000000
--- a/libre/linux-libre-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:
diff --git a/libre/linux-libre-tools/usbipd.service b/libre/linux-libre-tools/usbipd.service
deleted file mode 100644
index 1807e94b1..000000000
--- a/libre/linux-libre-tools/usbipd.service
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=USB/IP server
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/usbipd
-
-[Install]
-WantedBy=multi-user.target