From e4f613dbaf6093c3fa56e619d388f70740ecd011 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 26 Sep 2017 12:06:00 -0300 Subject: Detect XG-1537 --- src/etc/inc/system.inc | 7 +++++++ 1 file changed, 7 insertions(+) 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')); } -- cgit v1.1