diff options
author | jim-p <jimp@pfsense.org> | 2012-06-12 15:10:24 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-06-12 15:10:24 -0400 |
commit | 7530177c7c59795b4e5c0767453444837ee5d622 (patch) | |
tree | e7222691d5e000fdb96508d943480900d33cfade /usr/local/www/index.php | |
parent | 7c9a30c8e20bc4f83395d1497c12f5c1c5298178 (diff) | |
download | pfsense-7530177c7c59795b4e5c0767453444837ee5d622.zip pfsense-7530177c7c59795b4e5c0767453444837ee5d622.tar.gz |
Generalize the Crypto hardware option and add GUI support for AES-NI.
Diffstat (limited to 'usr/local/www/index.php')
-rwxr-xr-x | usr/local/www/index.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php index c9efd0c..9b19a48 100755 --- a/usr/local/www/index.php +++ b/usr/local/www/index.php @@ -197,7 +197,13 @@ EOF; if ($fd) { while (!feof($fd)) { $dmesgl = fgets($fd); - if (preg_match("/^hifn.: (.*?),/", $dmesgl, $matches) or preg_match("/.*(VIA Padlock)/", $dmesgl, $matches) or preg_match("/^safe.: (\w.*)/", $dmesgl, $matches) or preg_match("/^ubsec.: (.*?),/", $dmesgl, $matches) or preg_match("/^padlock.: <(.*?)>,/", $dmesgl, $matches) or preg_match("/^glxsb.: (.*?),/", $dmesgl, $matches)) { + if (preg_match("/^hifn.: (.*?),/", $dmesgl, $matches) + or preg_match("/.*(VIA Padlock)/", $dmesgl, $matches) + or preg_match("/^safe.: (\w.*)/", $dmesgl, $matches) + or preg_match("/^ubsec.: (.*?),/", $dmesgl, $matches) + or preg_match("/^padlock.: <(.*?)>,/", $dmesgl, $matches) + or preg_match("/^glxsb.: (.*?),/", $dmesgl, $matches) + or preg_match("/^aesni.: (.*?),/", $dmesgl, $matches)) { $hwcrypto = $matches[1]; break; } |