From 2b96631fa56943b728bb670e0ca016ccde8cd517 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 24 Nov 2010 08:45:01 -0800 Subject: Add cpufrequtils default config file If cpufrequtils is installed, then want the default to be full performance. --- debian/control | 1 + debian/vyatta-cfg-system.postinst.in | 3 +++ 2 files changed, 4 insertions(+) (limited to 'debian') 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 -- cgit v1.2.3