From 1717a06d1dbc481b1894b90fd2734aeee9c1f963 Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Fri, 28 Aug 2009 17:47:46 -0700 Subject: Bugfix 4793: Narrow the set of platforms on which module is loaded. (cherry picked from commit 97cd67eda018db24517ad644d2ad1547fdb52231) --- etc/init.d/vyatta-ofr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'etc') 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 -- cgit v1.2.3