diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-02-04 07:42:51 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-02-04 07:43:19 -0200 |
commit | 0fcf26e41341f46c911b116e952efa9fc3d961e8 (patch) | |
tree | db15687c30e6ef01c8b80b9587aa733caeb31764 /etc/inc/system.inc | |
parent | 98b3de7829b08d8a2a54a93ec41c67871de5c40f (diff) | |
download | pfsense-0fcf26e41341f46c911b116e952efa9fc3d961e8.zip pfsense-0fcf26e41341f46c911b116e952efa9fc3d961e8.tar.gz |
Silent kenv when smbios.system.product is not present. While here, add VirtualBox to the list of virtualenvs
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index c47163c..3b0a8bb 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -2036,7 +2036,7 @@ function system_identify_specific_platform() { /* Try to guess from smbios strings */ unset($output); - $_gb = exec('/bin/kenv smbios.system.product', $output); + $_gb = exec('/bin/kenv smbios.system.product 2>/dev/null', $output); switch ($output[0]) { case 'FW7541': return (array('name' => 'FW7541', 'descr' => 'Netgate FW7541')); |