mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add NGID to status.php
This commit is contained in:
parent
b0572bad67
commit
fcc24426ab
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user