summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-09-26 12:06:00 -0300
committerRenato Botelho <renato@netgate.com>2017-09-26 12:06:07 -0300
commite4f613dbaf6093c3fa56e619d388f70740ecd011 (patch)
tree4ca38a1ef194ea6ea351e38b28b4028144cf5b6a /src
parent7a8131028874b334e43b5e7dcf894a86481543c6 (diff)
downloadpfsense-e4f613dbaf6093c3fa56e619d388f70740ecd011.zip
pfsense-e4f613dbaf6093c3fa56e619d388f70740ecd011.tar.gz
Detect XG-1537
Diffstat (limited to 'src')
-rw-r--r--src/etc/inc/system.inc7
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'));
}
OpenPOWER on IntegriCloud