summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-11-24 08:45:01 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-11-24 09:37:55 -0800
commit2b96631fa56943b728bb670e0ca016ccde8cd517 (patch)
tree0841d020c8972c6b220fd548b44ba5adc0b466e6 /debian
parent96700ba4c5c8acc2aecddbe68e9af8adf95850a3 (diff)
downloadvyatta-cfg-quagga-2b96631fa56943b728bb670e0ca016ccde8cd517.tar.gz
vyatta-cfg-quagga-2b96631fa56943b728bb670e0ca016ccde8cd517.zip
Add cpufrequtils default config file
If cpufrequtils is installed, then want the default to be full performance.
Diffstat (limited to 'debian')
-rw-r--r--debian/control1
-rw-r--r--debian/vyatta-cfg-system.postinst.in3
2 files changed, 4 insertions, 0 deletions
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