summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_system_parsing.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-10-26 11:10:17 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-10-26 11:10:17 -0400
commitd45f32582f4b7bc02bb8cbc191e07d8e4f96aa33 (patch)
treece76a00950862ea557e2754ac3ef8ceb0ede7aa8 /pts-core/functions/pts-functions_system_parsing.php
parent242de5350c4e2745cfac5db61a687a1046c01a76 (diff)
downloadphoronix-test-suite-upstream-d45f32582f4b7bc02bb8cbc191e07d8e4f96aa33.tar.gz
phoronix-test-suite-upstream-d45f32582f4b7bc02bb8cbc191e07d8e4f96aa33.tar.xz
phoronix-test-suite-upstream-d45f32582f4b7bc02bb8cbc191e07d8e4f96aa33.zip
pts-core: Improve motherboard detection for vendors that report a
version string of "1234567890" (such as Super Micro)
Diffstat (limited to 'pts-core/functions/pts-functions_system_parsing.php')
-rw-r--r--pts-core/functions/pts-functions_system_parsing.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions_system_parsing.php b/pts-core/functions/pts-functions_system_parsing.php
index e256d82..a4f1339 100644
--- a/pts-core/functions/pts-functions_system_parsing.php
+++ b/pts-core/functions/pts-functions_system_parsing.php
@@ -80,7 +80,7 @@ function read_hal($name, $UDI = null)
$info = trim(substr($info, 0, strpos($info, "'")));
}
- $remove_words = array("empty", "unknow", "system manufacturer", "system version", "system name", "system product name", "to be filled by o.e.m.", "not applicable", "oem");
+ $remove_words = array("empty", "unknow", "system manufacturer", "system version", "system name", "system product name", "to be filled by o.e.m.", "not applicable", "oem", "1234567890");
if(empty($info) || in_array(strtolower($info), $remove_words))
{
$info = "Unknown";