summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2009-08-28 17:47:46 -0700
committerBob Gilligan <gilligan@vyatta.com>2009-08-28 17:47:46 -0700
commit97cd67eda018db24517ad644d2ad1547fdb52231 (patch)
tree99d4005c834b3b18c8e93fd0274a54093b6c6f22
parent569bbb3942920988445bafe76b676beedb51f87f (diff)
downloadvyatta-cfg-97cd67eda018db24517ad644d2ad1547fdb52231.tar.gz
vyatta-cfg-97cd67eda018db24517ad644d2ad1547fdb52231.zip
Bugfix 4793: Narrow the set of platforms on which module is loaded.
-rwxr-xr-xetc/init.d/vyatta-ofr6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/init.d/vyatta-ofr b/etc/init.d/vyatta-ofr
index 39e9904..45333ac 100755
--- a/etc/init.d/vyatta-ofr
+++ b/etc/init.d/vyatta-ofr
@@ -132,9 +132,9 @@ cleanup_raid()
#
load_acpi_cpufreq()
{
- manuf=`dmidecode -s processor-manufacturer`
- family=`dmidecode -s processor-family`
- if [ "$manuf" = "Intel" -a "$family" = "Xeon" ]; then
+ 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