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:50:20 -0700 |
commit | 1717a06d1dbc481b1894b90fd2734aeee9c1f963 (patch) | |
tree | 5fb50c8de4cc1935303e727f14b4c527c55ccdd9 /etc/init.d | |
parent | 0999e219b83702d8ee02c282dd77f1ff98b10c6b (diff) | |
download | vyatta-cfg-1717a06d1dbc481b1894b90fd2734aeee9c1f963.tar.gz vyatta-cfg-1717a06d1dbc481b1894b90fd2734aeee9c1f963.zip |
Bugfix 4793: Narrow the set of platforms on which module is loaded.
(cherry picked from commit 97cd67eda018db24517ad644d2ad1547fdb52231)
Diffstat (limited to 'etc/init.d')
-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 |