mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Show system platform and serial / UUID
This commit is contained in:
parent
3291893538
commit
e093cb8e75
@ -27,6 +27,7 @@
|
||||
require_once("functions.inc");
|
||||
require_once("guiconfig.inc");
|
||||
require_once('notices.inc');
|
||||
require_once('system.inc');
|
||||
include_once("includes/functions.inc.php");
|
||||
|
||||
if ($_REQUEST['getupdatestatus']) {
|
||||
@ -92,6 +93,21 @@ $filesystems = get_mounted_filesystems();
|
||||
<th><?=gettext("Name");?></th>
|
||||
<td><?php echo htmlspecialchars($config['system']['hostname'] . "." . $config['system']['domain']); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?=gettext("System");?></th>
|
||||
<td>
|
||||
<?php
|
||||
$platform = system_identify_specific_platform();
|
||||
if (isset($platform['descr'])) {
|
||||
echo $platform['descr'];
|
||||
} else {
|
||||
echo gettext('Unknown system');
|
||||
}
|
||||
?>
|
||||
<br />
|
||||
<?=gettext("Serial: ") . system_get_serial();?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?=gettext("Version");?></th>
|
||||
<td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user