diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-25 14:31:52 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-25 14:31:52 -0400 |
commit | 5cd37bfb1ba0c307e58409f1eec940165f48853a (patch) | |
tree | 64e461845c557531caa53d2e4b341e7ccf079652 /pts-core/functions/pts-functions_system_parsing.php | |
parent | 2341c1f91673a7b32a25a354be35d0be628d17e7 (diff) | |
download | phoronix-test-suite-upstream-5cd37bfb1ba0c307e58409f1eec940165f48853a.tar.gz phoronix-test-suite-upstream-5cd37bfb1ba0c307e58409f1eec940165f48853a.tar.xz phoronix-test-suite-upstream-5cd37bfb1ba0c307e58409f1eec940165f48853a.zip |
pts-core: Add a few more remove_words in the HAL extraction to check for
Diffstat (limited to 'pts-core/functions/pts-functions_system_parsing.php')
-rw-r--r-- | pts-core/functions/pts-functions_system_parsing.php | 2 |
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 30425af..e738bad 100644 --- a/pts-core/functions/pts-functions_system_parsing.php +++ b/pts-core/functions/pts-functions_system_parsing.php @@ -65,7 +65,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", "to be filled by o.e.m.", "not applicable"); + $remove_words = array("empty", "unknow", "system manufacturer", "system version", "name", "system product", "to be filled by o.e.m.", "not applicable"); if(empty($info) || in_array(strtolower($info), $remove_words)) $info = "Unknown"; |