diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2009-08-28 17:47:46 -0700 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2009-08-28 17:47:46 -0700 |
commit | 97cd67eda018db24517ad644d2ad1547fdb52231 (patch) | |
tree | 99d4005c834b3b18c8e93fd0274a54093b6c6f22 | |
parent | 569bbb3942920988445bafe76b676beedb51f87f (diff) | |
download | vyatta-cfg-97cd67eda018db24517ad644d2ad1547fdb52231.tar.gz vyatta-cfg-97cd67eda018db24517ad644d2ad1547fdb52231.zip |
Bugfix 4793: Narrow the set of platforms on which module is loaded.
-rwxr-xr-x | etc/init.d/vyatta-ofr | 6 |
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 |