summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am1
-rw-r--r--debian/control1
-rw-r--r--debian/vyatta-cfg-system.postinst.in3
-rw-r--r--sysconf/cpufrequtils5
4 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 5ff82c17..ee53e446 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -92,6 +92,7 @@ sysconf_DATA += sysconf/level
sysconf_DATA += sysconf/pam_radius.cfg
sysconf_DATA += sysconf/filecaps
sysconf_DATA += sysconf/capability.conf
+sysconf_DATA += sysconf/cpufrequtils
libudevdir = /lib/udev
udevrulesdir = /lib/udev/rules.d
diff --git a/debian/control b/debian/control
index 4f8d26c5..f6ce8dd7 100644
--- a/debian/control
+++ b/debian/control
@@ -51,6 +51,7 @@ Depends: acpid,
radvd (>= 1:1.1-3),
apt-transport-https,
hostapd (>= 1:0.6.9-3),
+ cpufrequtils,
libcap2-bin (>= 2.19)
Pre-Depends: bash-completion
Suggests: util-linux (>= 2.13-5),
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index bb29896c..4c5defd4 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -143,6 +143,9 @@ EOF
# default targets
mv /etc/rsyslog.conf /etc/rsyslog.conf.orig
cp $sysconfdir/rsyslog.conf /etc/rsyslog.conf
+
+ # Install own version of cpufrequtils config
+ cp $sysconfdir/cpufrequtils /etc/default/cpufrequtils
fi
# create needed directories
diff --git a/sysconf/cpufrequtils b/sysconf/cpufrequtils
new file mode 100644
index 00000000..5321b9da
--- /dev/null
+++ b/sysconf/cpufrequtils
@@ -0,0 +1,5 @@
+# Default for Vyatta systems is to not use cpu-frequency governor
+ENABLE="false"
+GOVERNOR="performance"
+MAX_SPEED="0"
+MIN_SPEED="0"