Add NGID to status.php

This commit is contained in:
jim-p 2017-05-23 12:12:44 -04:00
parent b0572bad67
commit fcc24426ab

View File

@ -169,6 +169,14 @@ function get_firewall_info() {
if (!empty($platform['descr'])) {
$firewall_info .= "<br/>Platform: " . htmlspecialchars($platform['descr']);
}
if (file_exists('/var/db/uniqueid')) {
$ngid = file_get_contents('/var/db/uniqueid');
if (!empty($ngid)) {
$firewall_info .= "<br/>Netgate Device ID: " . htmlspecialchars($ngid);
}
}
$serial = system_get_serial();
if (!empty($serial)) {
$firewall_info .= "<br/>SN/UUID: " . htmlspecialchars($serial);