summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-11-24 09:29:14 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-11-24 11:51:52 -0800
commitb348dac03335c50f8306d544b70eecfc63c563ba (patch)
tree5db6c42243e1f36249029829526a33154912828e
parent0742a71f21b54f4d31b4b722e346c8acd1c606dc (diff)
downloadvyatta-cfg-b348dac03335c50f8306d544b70eecfc63c563ba.tar.gz
vyatta-cfg-b348dac03335c50f8306d544b70eecfc63c563ba.zip
Remove ACPI cpufreq hack
Now that cpufrequtils package is integrated, no longer need Vyatta specific hack to load cpu frequency modules
-rwxr-xr-xetc/init.d/vyatta-router16
1 files changed, 0 insertions, 16 deletions
diff --git a/etc/init.d/vyatta-router b/etc/init.d/vyatta-router
index 516672f..18ad65b 100755
--- a/etc/init.d/vyatta-router
+++ b/etc/init.d/vyatta-router
@@ -137,21 +137,6 @@ cleanup_raid()
rmmod $MD_MODULES > /tmp/vyatta_raid_cleanup_log 2>&1
}
-#
-# Load the acpi_cpufreq kernel module, but only for certain processors.
-# Some Intel CPUs need to have it loaded in order to initialize
-# properly.
-#
-load_acpi_cpufreq()
-{
- manuf=`dmidecode -s system-manufacturer`
- prod=`dmidecode -s system-product-name`
- if [ "$manuf" = "Vyatta" -a "$prod" = "Series 2500" ]; then
- logger -t "$progname" -p user.notice "loading acpi_cpufreq module"
- modprobe acpi_cpufreq
- fi
-}
-
#
# On image booted machines, we need to mount /boot from the image-specific
# boot directory so that kernel package installation will put the
@@ -228,7 +213,6 @@ start ()
log_success_msg
fi
- load_acpi_cpufreq
cleanup_raid
telinit q
bind_mount_boot