diff options
author | Renato Botelho <renato@netgate.com> | 2017-09-26 12:06:00 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-09-26 12:06:07 -0300 |
commit | e4f613dbaf6093c3fa56e619d388f70740ecd011 (patch) | |
tree | 4ca38a1ef194ea6ea351e38b28b4028144cf5b6a | |
parent | 7a8131028874b334e43b5e7dcf894a86481543c6 (diff) | |
download | pfsense-e4f613dbaf6093c3fa56e619d388f70740ecd011.zip pfsense-e4f613dbaf6093c3fa56e619d388f70740ecd011.tar.gz |
Detect XG-1537
-rw-r--r-- | src/etc/inc/system.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc index 295641d..8aa753e 100644 --- a/src/etc/inc/system.inc +++ b/src/etc/inc/system.inc @@ -2472,6 +2472,13 @@ function system_identify_specific_platform() { break; } + $_gb = exec('/bin/kenv -q smbios.planar.product 2>/dev/null', + $planar_product); + if (isset($planar_product[0]) && + $planar_product[0] == 'X10SDV-8C-TLN4F+') { + return array('name' => 'XG-1537', 'descr' => 'Super Micro XG-1537'); + } + if (strpos($hw_model, "PC Engines WRAP") !== false) { return array('name' => 'wrap', 'descr' => gettext('PC Engines WRAP')); } |